The Author - may Allah, the Exalted shower blessings on him - cited the narration from Anas bin Malik - may Allah be pleased with him - that: The Prophet (ﷺ) passed by a woman beside the grave of
her infant child who passed away. Because of her ardent love for the child, she could not hold back coming to the grave and crying. When the Prophet (ﷺ) saw her, he asked her to be conscious of Allah and be patient.
He (ﷺ) said to her: “Fear Allah and be patient.” She replied, “Away from me! My calamity has not befallen you.” That is to say, Go away from me; you have not been afflicted by the kind of affliction that touched me. This shows that the affliction had greatly distressed her. So, the Prophet (ﷺ) left her.
Later it was said to her: “That is the Messenger of Allah (ﷺ).” She regretted and came to Allah’s Messenger (ﷺ), to his door. The doors have no doormen who would prevent anybody entrance to meet him. She gave him the excuse that, “I did not know you.” The Prophet (ﷺ) then said, “Patience is at the first stroke of grief.”
The patience for which an individual will be rewarded is that which he exercises at the first strike; the first time the affliction comes. This is real patience. As for the patience that comes after that, they may be mere amusement. Essentially, patience is when the individual endures the first time he is afflicted, hoping for the rewards from Allah. It is good for him to say, “Innaa lillaahi wa innaa ilayhi raaji’oon (We belong to Allah and to Him is our return); Allahumma ajirnee fee museebatee wakhlifnee khayran minhaa (O Allah, reward me in my calamity, and grant me a better replacement).”
There are a number of lessons in this hadeeth:
Firstly: The Prophet’s good character and his invitation to truth and goodness. When he saw the woman crying he exhorted her to be god-conscious and patient. When she retorted that, “Away from me” he did not avenge for himself; he did not beat her neither did he compel her to stand up because he knew her adversity was so severe that she could not restrain herself; she had even – for the same reason – left her home to weep at the grave.
If somebody asks: Is visiting the graveyard not prohibited for women? We will answer that: “Yes, it is forbidden for women; it is in fact among the major sins because the Prophet (ﷺ) “Cursed women who the graves and those who take them as places of worship and lit lamps there.”(1)
Nevertheless, this woman did not come out for visiting; she came owing to the worries of missing this infant and severe grief. She could not retrain herself from coming, and consequently, the Prophet (ﷺ) excused her and did not force her to go or compel her to return home.
Among the lessons in this Hadeeth is that: An individual could be given the excuse of ignorance; whether ignorance of the rulings of the Sharee'ah or condition. This woman told the Prophet (ﷺ), "Away from me!" i.e., go away from me even though he was ordering her good; piety and patience. But she did not know he is Allah's Messenger (ﷺ). Consequently, the Prophet (ﷺ) pardoned her.
Among the lessons also, is that: It is not necessary for the individual placed in-charge of the affairs of the Muslims to take a gatekeeper who would drive people away when they need him. Except a person fears the crowd of people, their distressing him and people's getting busy with something they could be busy with at another time; then there is no blame. Asking for permission before entry is legislated to prevent looking into the apartment and so that the individual could prevent or allow whomever he willed.
Among its lessons: Patience for which the individual will be praised is that during the first stroke and what He gives are His and that everything has its fixed time with him.
Some of the people would be tried; when someone near him dies, he begins to regularly visit his grave and weep there. This contradicts patience; in fact we could say: If you want to benefit the dead, supplicate to Allah (for him) while in the house; you do not the regular visits to the grave which could make the individual to repeatedly bring the dead to mind and not forget. In that case he continues to be distress despite the fact that the best is for the individual to be distracted to forget the adversity as much as possible.
Allah alone grants success
about Building A Mosque over the Grave; no. 320, an-Nasaee, the Book of Funeral, Chapter on the Seriousness of Lighting Candles on Graves; no. 2043, Aboo Daawood, the Book of Funerals, Chapter on Women's Visiting Graves; no. 3236. This hadeeth was graded Sound by at-Tirmidhee, likewise al-Allaamah Ahmad Shaakir in his annotation on at-Tirmidhee (2/137) and Shaykh al-Albaanee graded it Sound based on corroborating proofs with the exception of the expression, "...and lights". See Irwaah (3/313).