Dua in Graveyard: As-Salamu ‘Alaykum Ahlad-Diyar
Dua in Graveyard: As-salamu ‘alaykum ahlad-diyari minal-mu’minin (Sahih Muslim 975). Arabic, meaning and etiquette when visiting graves.
السَّلاَمُ عَلَيْكُمْ أَهْلَ الدِّيَارِ مِنَ الْمُؤْمِنِينَ وَالْمُسْلِمِينَ، وَإِنَّا إِنْ شَاءَ اللَّهُ بِكُمْ لَلاَحِقُونَ، أَسْأَلُ اللَّهَ لَنَا وَلَكُمُ الْعَافِيَةَ
───── ❖ ─────
The Sunnah dua in graveyard is As-salamu ‘alaykum ahlad-diyari minal-mu’minina wal-muslimin, wa inna in sha’Allahu bikum lalahiqun, as’alullaha lana wa lakumul-‘afiyah (Sahih Muslim 975). The Prophet ﷺ taught it to his Companions for when they went out to the graveyard.
It is both a greeting and a prayer, and it reminds the visitor that he too will join them. This page explains the dua, the purpose of visiting graves, and the manners to keep.
As-Salamu ‘Alaykum Ahlad-Diyar: Greeting the Graves
Visiting graves softens the heart and reminds us of the Hereafter, and the greeting is a prayer for the dead.
Transliteration: As-salamu ‘alaykum ahlad-diyari minal-mu’minina wal-muslimin, wa inna in sha’Allahu bikum lalahiqun, as’alullaha lana wa lakumul-‘afiyah
Meaning: Peace be upon you, O inhabitants of these dwellings, believers and Muslims. We will, if Allah wills, join you. I ask Allah for well-being for us and for you.
Source: Sahih Muslim 975

Why the Prophet ﷺ Visited al-Baqi’
Buraydah narrated that the Prophet ﷺ taught them this greeting when they went out to the graves (Sahih Muslim 975). ‘Aishah reported that he would go out at night to al-Baqi’ and greet its people with similar words, asking Allah to forgive them (Sahih Muslim 974).
He said: ‘I had forbidden you to visit graves, but now visit them, for they remind you of the Hereafter’ (Sahih Muslim 976 and related narrations). Visiting is for remembrance and for praying for the dead, not for seeking help from them.
The authentic collections give you more to say, and the ones below suit this situation especially well:
O Allah, forgive him and have mercy on him, keep him safe and pardon him, honour his recep
اللَّهُمَّ اغْفِرْ لَهُ وَارْحَمْهُ، وَعَافِهِ وَاعْفُ عَنْهُ، وَأَكْرِمْ نُزُلَهُ، وَوَسِّعْ مُدْخَلَهُ، وَاغْسِلْهُ بِالْمَاءِ وَالثَّلْجِ وَالْبَرَدِ، وَنَقِّهِ مِنَ الْخَطَايَا كَمَا نَقَّيْتَ الثَّوْبَ الأَبْيَضَ مِنَ الدَّنَسِ، وَأَبْدِلْهُ دَاراً خَيْراً مِنْ دَارِهِ، وَأَهْلاً خَيْراً مِنْ أَهْلِهِ، وَزَوْجاً خَيْراً مِنْ زَوْجِهِ، وَأَدْخِلْهُ الْجَنَّةَ، وَأَعِذْهُ مِنْ عَذَابِ الْقَبْرِ وَعَذَابِ النَّارِ
It sits naturally beside the dua in graveyard, with the full pronunciation and translation set out in the Dua for Death guide and the narration recorded in Sahih Muslim 963.
Walking Among Graves: Shoes, Silence and Reflection
Etiquette of the dua in graveyard:
- Do not step on or sit on graves.
- Avoid placing candles, building over graves or praying towards them.
- Do not ask the dead for anything; ask Allah for them.
- Dress modestly and keep your voice low.
- Treating graves of pious people as places to seek needs.
- Taking photos or socialising at graves.
- Visiting only during festivals as a fixed ritual.
- Forgetting the greeting and going straight to one grave.
A Simple Graveyard Visit Routine
How to visit a graveyard with the dua in graveyard:
- Enter calmly and say the greeting of Sahih Muslim 975.
- Walk carefully between graves; do not sit on them.
- Make dua for the deceased, especially your relatives, in your own words.
- Reflect on death and your own deeds.
- Leave quietly; avoid idle talk and laughter.

Can You Recite Quran at a Grave?
What is the authentic dua in graveyard?
For the dua in graveyard, learn As-salamu ‘alaykum ahlad-diyari minal-mu’minina wal-muslimin, wa inna in sha’Allahu bikum lalahiqun, as’alullaha lana wa lakumul-‘afiyah. In English: “Peace be upon you, O inhabitants of these dwellings, believers and Muslims. We will, if Allah wills, join you. I ask Allah for well-being for us and for you.” It is reported in Sahih Muslim 975.
Can women say the dua in graveyard?
Yes. ‘Aishah asked the Prophet ﷺ what to say and he taught her a similar greeting.
Is there a dua for entering the graveyard specifically?
This greeting is what is said on entering or approaching the graves.
Can I recite al-Fatihah for the dead?
Scholars differ on this; dua and istighfar for them are clearly established.
Remembering the Final Destination
A graveyard is the most honest place on earth: everyone there has met their deeds. The dua in graveyard greets them, prays for them and reminds us we will join them. Visit sometimes, say it sincerely, and return home ready to live better.
- The authentic dua in graveyard is: As-salamu ‘alaykum ahlad-diyari minal-mu’minina wal-muslimin, wa inna in sha’Allahu bikum lalahiqun, as’alullaha lana wa lakumul-‘afiyah
- Verify it yourself: Sahih Muslim 975 is the reference (Sahih Muslim 975 on Sunnah.com).
- The dua in graveyard: As-salamu ‘alaykum ahlad-diyar… (Sahih Muslim 975).
- Visit to remember death and pray for the dead, never to ask them.
If this page helped, the next articles continue the topic, or visit our Islamic Posts section:
أَلَا بِذِكْرِ اللَّهِ تَطْمَئِنُّ الْقُلُوبُ
“Verily, in the remembrance of Allah do hearts find rest.”
Surah Ar-Ra’d 13:28









