Skip to content
  1. Home
  2. Dua for cemetery (visiting graves)

Death and janazah

Dua for Cemetery: The Dua for Visiting Graves and Entering the Graveyard, in Arabic and English

The greeting the Prophet ﷺ taught for the graves, duas for the person buried there, why to visit, and manners in the graveyard

The dua for the cemetery is the greeting the Prophet ﷺ taught his Companions for visiting graves: “As-salamu ‘alaykum ahlad-diyari minal-mu’minina wal-muslimin, wa inna in sha Allahu bikum lahiqun, nas’alullaha lana wa lakumul-‘afiyah”: “Peace be upon you, people of these dwellings, believers and Muslims. We will join you, if Allah wills. We ask Allah for wellbeing for us and for you” (Sahih Muslim). Below are the graveyard duas in Arabic, transliteration and English, duas for a loved one’s grave, why the Prophet ﷺ encouraged visiting graves, and the manners of the graveyard.

Card titled Dua for cemetery, showing greeting the believers buried there on arrival, dua to Allah for them, that graves remind you of the hereafter, and the source Sahih Muslim

Dua for cemetery: the greeting for the graves

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

(Assalamu AAalaykum ahlad-diyari minal-mu/mineena walmuslimeen, wa-inna in shaal-lahu bikum lahiqoon, nas-alul-laha lana walakumul-AAafiyah.)

(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, we ask Allah for well-being for us and you.)

Hisn al-Muslim 165

Buraydah reported that the Prophet ﷺ taught them to say this when they went out to the graves (Sahih Muslim). Say it as you enter the graveyard or reach the graves.

Dua for entering the graveyard, meaning

  • As-salamu ‘alaykum ahlad-diyari minal-mu’minina wal-muslimin: peace be upon you, people of these dwellings, believers and Muslims.
  • Wa inna in sha Allahu bikum lahiqun: and we will join you, if Allah wills.
  • Nas’alullaha lana wa lakumul-‘afiyah: we ask Allah for wellbeing for us and for you.

Another wording

In a narration from Aishah, also in Sahih Muslim, the greeting adds a dua that Allah have mercy on those of us who have gone before and those who come later.

Why visit the graves

The Prophet ﷺ said: “I had forbidden you from visiting graves, but now visit them” (Sahih Muslim), and in another hadith, “Visit the graves, for they remind you of death” (Sahih Muslim).

A visit does two things: it benefits the dead, through your salam and dua, and it benefits you, by softening the heart and reminding you of the hereafter.

Women visiting graves

Scholars differ. Many allow women to visit graves from time to time, with calm and patience, as Aishah asked the Prophet ﷺ what to say at the graves and he taught her. Others discourage it. Follow your own scholar.

Dua at a grave for the person buried there

((اللَّهُمَّ اغْفِرْ لَهُ، اللَّهُمَّ ثَبِّتْهُ)).

Allaahum-maghfir lahu Allaahumma thabbithu

O Allah, forgive him. O Allah, strengthen him

Hisn al-Muslim 164

((اللَّهُمَّ اغْفِرْ لِحَيِّنَا وَمَيِّتِنَا، وَشَاهِدِنَا وَغَائِبِنَا، وَصَغِيرِنَا وَكَبيرِنَا، وَذَكَرِنَا وَأُنْثَانَا. اللَّهُمَّ مَنْ أَحْيَيْتَهُ مِنَّا فَأَحْيِهِ عَلَى الْإِسْلاَمِ، وَمَنْ تَوَفَّيْتَهُ مِنَّا فَتَوَفَّهُ عَلَى الإِيمَانِ، اللَّهُمَّ لاَ تَحْرِمْنَا أَجْرَهُ، وَلاَ تُضِلَّنَا بَعْدَهُ)).

(Allahummagh-fir lihayyina wamayyitina washahidina, wagha-ibina, wasagheerina wakabeerina, wathakarina wa-onthana. Allahumma man ahyaytahu minna fa-ahyihi AAalal-islam, waman tawaffaytahu minna fatawaffahu AAalal-eeman, allahumma la tahrimna ajrah, wala tudillana baAAdah.)

(O Allah, forgive our living and our dead, those present and those absent, our young and our old, our males and our females. O Allah, whom amongst us You keep alive, then let such a life be upon Islam, and whom amongst us You take unto Yourself, then let such a death be upon faith. O Allah, do not deprive us of his reward and do not let us stray after him.)

Hisn al-Muslim 157

After a burial, the Prophet ﷺ would stand at the grave and say: ask forgiveness for your brother and ask that he be made firm, for he is now being questioned (Abu Dawud). The first text above, “O Allah, forgive him, O Allah, make him firm”, is that dua.

The second is a funeral dua for all the living and the dead, good to say at any grave. At a parent’s grave, add the Quran’s dua Rabbir-hamhuma kama rabbayani saghira; see dua for parents. For more duas, see dua for the deceased.

Manners in the graveyard

  • Do not sit or walk on graves: the Prophet ﷺ said do not sit on graves and do not pray towards them (Sahih Muslim).
  • Be quiet and calm: a graveyard is a place of reflection.
  • Make your dua to Allah for them: ask Allah for their forgiveness, mercy and light in the grave.
  • Raise your hands if you wish: Aishah described the Prophet ﷺ standing at al-Baqi‘ graveyard and raising his hands in dua three times (Sahih Muslim).
  • Reciting Quran at graves: scholars differ; many allow reciting Al-Fatiha or other surahs there and asking Allah to have mercy on the dead.

Remember the grave

A hadith in at-Tirmidhi describes Surah Al-Mulk as a protector from the punishment of the grave. Many recite it every night.

Written for DonateOpenly from the sources it cites, and awaiting review by ulama. Dates are worked out from the Islamic calendar and depend on the moon sighting.

Choose a charity, then give on its own website

Every registered UK Muslim charity has a page on DonateOpenly: what it does, where its work reaches people and where donors review it.

Find a charity

Dua for cemetery (visiting graves): questions

What is the dua for entering a graveyard?

“As-salamu ‘alaykum ahlad-diyari minal-mu’minina wal-muslimin, wa inna in sha Allahu bikum lahiqun, nas’alullaha lana wa lakumul-‘afiyah” (Sahih Muslim).

What is the dua for visiting the grave of my parents?

Greet them with the graveyard salam, then ask Allah to forgive them and have mercy on them, including “Rabbir-hamhuma kama rabbayani saghira”.

Can women visit graves in Islam?

Scholars differ. Many allow occasional visits with calm and patience, since the Prophet ﷺ taught Aishah what to say at the graves; others discourage it.

Can I read Quran at a grave?

Scholars differ on reciting at graves. All agree that dua for the dead is good and reaches them.

What do you say after burying someone?

Ask forgiveness and firmness for them: “Allahummaghfir lahu, Allahumma thabbithu”, for they are being questioned (Abu Dawud).