Sickness and death

Dua when visiting the graves

Updated · From Hisnul Muslim

Short answer

When entering a graveyard, greet its people with peace, remember that you will join them, and ask Allah for well-being for them and for yourself. The Prophet ﷺ taught his Companions these words for going out to the graves (Muslim 975; Ibn Majah 1547, sahih).

Keep every du'a from Hisnul Muslim with you, with Arabic and meaning, in the free Tasleem app. Get the app →

The dua

السَّلَامُ عَلَيْكُمْ أَهْلَ الدِّيَارِ، مِنَ المُؤْمِنِيْنَ، وَالْمُسْلِمِيْنَ، وَإِنَّا إِنْ شَاءَ اللهُ بِكُمْ لَاحِقُونَ، [وَ يَرْ حَمُ اللهُ المُسْتَقْدِمِيْنَ مِنَّا وَ المُسْتَأخِرِيْنَ] أسْألُ اللهَ لَنَا وَلَكُمْ العَافِيَةَ

"Peace be upon you all, O inhabitants of the graves, amongst the believers and the Muslims. Verily we will, Allah willing, be united with you, [may Allah have mercy on those of us who have gone before and those who come later,] we ask Allah for well-being for us and you."

(Muslim 975; Ibn Majah 1547, sahih per al-Albani, whose wording this is. The part in square brackets is from 'A'ishah's hadith in Muslim 974)

When to say it

On arriving at a graveyard, whether visiting a relative's grave or passing by. The greeting is addressed to the believers buried there. The part in square brackets asks Allah to have mercy on those of us who have gone before and those who come later.

The hadith behind it

Buraydah reported that the Messenger of Allah ﷺ used to teach the Companions what to say when they went out to the graveyard: a greeting of peace upon the believing and Muslim people of these dwellings, the reminder that we will join them if Allah wills, and a request to Allah for well-being for us and for them (Muslim 975; Ibn Majah 1547, sahih per al-Albani).

'A'ishah described how, on the nights the Prophet ﷺ spent with her, he would go out late at night to al-Baqi', the graveyard of Madinah, and greet its people and pray for their forgiveness (Muslim 974). In a longer narration she followed him one night and later asked what she should say when visiting the graves. He taught her a greeting that includes asking mercy for those who went before and those who will come later (Muslim 974). This is the bracketed addition in the Arabic.

The du'a is a gift to the dead, and a reminder for the living that they will follow.

Frequently asked questions

What do I say when entering a graveyard?

The greeting above, which the Prophet ﷺ taught his Companions (Muslim 975).

Did the Prophet ﷺ visit graves?

Yes. 'A'ishah reported that he would go to al-Baqi' at night and pray for the people buried there (Muslim 974).

Can women say this du'a?

The Prophet ﷺ taught the greeting to 'A'ishah when she asked what to say (Muslim 974).

In Tasleem

Tasleem's Duas section has this du'a from Hisnul Muslim, with Arabic and meaning, alongside the morning and evening adhkar.

Sources