Skip to content

Death and mourning

What to say when someone dies

The words, and what comes after

Islam gives clear words for the moment you hear of a death, and clear guidance for what follows: consoling the family, visiting the grave, and sending good to the person who has died. This guide covers each of those, and is honest about which customs around a death have no basis.

Stage 1: What to say when you hear of a death

Allah describes the patient as those who, when a calamity strikes them, say: “Innā lillāhi wa innā ilayhi rāji‘ūn” (to Allah we belong and to Him we return, Qur’an 2:156). The Prophet ﷺ taught a fuller du‘ā’ to say with it.

إِنَّا لِلَّهِ وَإِنَّا إِلَيْهِ رَاجِعُونَ، اللَّهُمَّ أَجِرْنِي فِي مُصِيبَتِي وَأَخْلِفْ لِي خَيْرًا مِنْهَا

Innā lillāhi wa innā ilayhi rāji‘ūn. Allāhumma ajirnī fī muṣībatī wa akhlif lī khayran minhā.

To Allah we belong and to Him we return. O Allah, reward me in my calamity and replace it for me with something better.

Narrated by Umm Salama. Sahih Muslim, 918

Save this dua to your phone

Umm Salama said this when her husband Abu Salama died, not knowing anyone better than him. Allah replaced him for her with the Prophet ﷺ himself, whom she later married.

إِذَا أَصَابَتْ أَحَدَكُمْ مُصِيبَةٌ فَلْيَقُلْ: إِنَّا لِلَّهِ وَإِنَّا إِلَيْهِ رَاجِعُونَ، اللَّهُمَّ عِنْدَكَ أَحْتَسِبُ مُصِيبَتِي، فَآجِرْنِي فِيهَا، وَأَبْدِلْ لِي بِهَا خَيْرًا مِنْهَا

Idhā aṣābat aḥadakum muṣībatun fal-yaqul: innā lillāhi wa innā ilayhi rāji‘ūn, Allāhumma ‘indaka aḥtasibu muṣībatī, fa-ājirnī fīhā, wa abdil lī bihā khayran minhā.

When a calamity befalls one of you, let him say: to Allah we belong and to Him we return. O Allah, with You I reckon my calamity, so reward me in it, and give me in its place something better.

Narrated by Umm Salama. Sunan Abi Dawud, 3119

Save this dua to your phone

Both wordings are authentic and may be said, on hearing of any death, your own or someone else’s.

Stage 2: Consoling the bereaved (ta‘ziya)

Consoling someone who has lost a relative is recommended.1 Two hadiths are cited for its reward: whoever consoles his brother over a calamity, Allah will clothe him with garments of honour on the Day of Judgement (Ibn Majah), and whoever consoles someone in grief has a reward like his (al-Tirmidhi and Ibn Majah).

إِنَّ لِلَّهِ مَا أَخَذَ، وَلَهُ مَا أَعْطَى، وَكُلٌّ إِلَى أَجَلٍ مُسَمًّى، فَلْتَصْبِرْ وَلْتَحْتَسِبْ

Inna lillāhi mā akhadha, wa lahu mā a‘ṭā, wa kullun ilā ajalin musamma, fal-taṣbir wal-taḥtasib.

To Allah belongs what He takes and to Him belongs what He gives, and everything with Him has an appointed time. So let her be patient and seek reward.

Narrated by Usama ibn Zayd. Sahih al-Bukhari, 1284; Sahih Muslim, 923

Save this dua to your phone

This is what the Prophet ﷺ sent back when one of his daughters asked him to come to her dying son. It is the best of all ta‘ziya wordings, better than any set formula.1

Ta‘ziya has a time limit: from the moment of death up to three days afterwards. After that it is disliked, unless the person consoling, or the person being consoled, was away and has only just returned, or unless real distress is seen, in which case it is brought forward.2

  • It is disliked to console the same person a second time for the same loss.14
  • It is disliked to offer condolences at the graveside itself. Ibrahim al-Nakha‘i called this an innovation: the grave is a place to recite and pray for the deceased, not to receive condolences.15
  • It is disliked for the family to sit at the door of the house to receive condolences, since this was a pre-Islamic practice.16

Worth knowing

The family sitting at home for up to three days to receive visitors is permitted, though leaving it is better.3

Stage 3: Mourning with patience

Quiet weeping with a soft heart is not a sin, and is how the Prophet ﷺ himself wept when a grandchild died in his arms. Loud wailing is not permitted.

These practices belong to pre-Islamic ignorance and are not permitted: blackening the cheeks and hands, tearing the collar of one’s clothing, scratching the face, loosening the hair, scattering dust on the head, striking the thigh or chest, and lighting fires at graves. Men wearing or tearing black clothing as mourning dress is disliked; there is no harm in women wearing black.4

Stage 4: Visiting the grave

Visiting graves is recommended, on the basis of the Prophet’s ﷺ words: “I used to forbid you from visiting graves. Now visit them.” The recommended frequency is weekly, with Friday, and the days either side of it, named as the best days to go.5

For women, the answer is conditional rather than a flat yes or no. If the visit is for quiet reflection and praying for the deceased, without crying or wailing, there is no harm in it, especially for an older woman. If the visit is likely to renew grief with crying and wailing, it is not permitted.6

When you arrive, greet the people of the graves with the words the Prophet ﷺ used:

السَّلَامُ عَلَيْكُمْ دَارَ قَوْمٍ مُؤْمِنِينَ، وَإِنَّا إِنْ شَاءَ اللَّهُ بِكُمْ لَاحِقُونَ

As-salāmu ‘alaykum dāra qawmin mu’minīn, wa innā in shā’a ’llāhu bikum lāḥiqūn.

Peace be upon you, home of believing people. And we, if Allah wills, will join you.

Narrated by Abu Hurayrah. Sahih Muslim, 249

Save this dua to your phone

Stand while greeting and making du‘ā’, as the Prophet ﷺ did at al-Baqi‘, and to approach from the side of the feet where you can.12

Then recite what is easy for you. Surah Ya-Sin is recommended, as are the opening of Surah al-Baqarah up to “al-mufliḥūn” with its closing verses from “Āmana ’r-rasūlu”, then ask Allah to convey the reward to the person buried there.13

Stage 5: Reading Qur’an and giving charity for the deceased

The fuqaha agree that a person may assign the reward of a good deed, such as charity, Hajj, fasting or prayer, to someone who has died, and that it benefits them. This is why charity given in someone’s name, such as a sadaqah jariyah, is a genuinely sound way to give on behalf of someone who has died.

Reciting Qur’an for them works the same way: the reward of the recitation itself reaches the deceased, whether the person was named during the recitation or the reward is gifted afterwards.7

A practical way of doing this: recite what is easy, such as al-Fatihah, the opening of al-Baqarah, Ayat al-Kursi, the closing verses of al-Baqarah, Surah Ya-Sin, Surah al-Mulk, al-Takathur and al-Ikhlas (three, seven or more times), then say: “Allāhumma awsil thawāba mā qara’nāhu ilā fulān” (O Allah, convey the reward of what we have recited to so-and-so, naming the person).8

Worth knowing

Reading Surah Ya-Sin specifically for someone dying or dead is widely practised, on the strength of the hadith “Read Ya-Sin over your dying.” That hadith is weak (da‘if).9 The underlying practice of reciting Qur’an and sending its reward to the deceased stands on sound ground (above); this specific hadith naming Ya-Sin does not, and should not be presented as a command.

Stage 6: Gatherings after a death

These gatherings are disliked: preparing food on the first day, the third day, or after a week; carrying food to the grave on special occasions; and holding an invitation for Qur’an recitation where the pious and the reciters are gathered for a khatm, or to recite Surat al-An‘am or al-Ikhlas.10

The reasoning given is that hospitality was legislated for joy, not for grief, and that the Companions themselves counted routine gathering-with-food at a house of death as a form of wailing. It is, in fact, recommended that neighbours and relatives bring food to the bereaved family, not the reverse: the Prophet ﷺ said, “Make food for the family of Ja‘far, for something has come upon them that occupies them.” The bereaved family itself hosting guests with food is disliked.11

Worth knowing

The same applies to a fortieth-day gathering: it is a custom, not part of the religion.

Sadaqah Jariyah

Something lasting, in their name

Sadaqah Jariyah is a continuous reward that keeps flowing after death. Give on behalf of the one you have lost, and your gift goes to projects that deliver lasting benefit: water wells, masjids, Qur’ans, student sponsorship and maktab education.

Every drop of water drunk, every prayer offered and every word recited becomes a source of ongoing reward for them. Zakat can be given too: choose “Zakat” at checkout and it goes to an eligible project.

We will add it to your donation or page for you.

Give to our Sadaqah Jariyah fund. Any amount helps, and your gift is marked as given on their behalf.

Make a page in their memory that family and friends can give to together. It is free and takes a few minutes.

Common questions

What do you say when a Muslim dies?

On hearing the news, say “Innā lillāhi wa innā ilayhi rāji‘ūn, Allāhumma ajirnī fī muṣībatī wa akhlif lī khayran minhā” (to Allah we belong and to Him we return; O Allah, reward me in my calamity and replace it for me with something better). To console the family, the Prophet’s ﷺ own wording is “to Allah belongs what He takes and to Him belongs what He gives, and everything with Him has an appointed time, so be patient and seek reward.”

How long should you console a grieving family?

Three days from the death is the normal window. After that, consoling is disliked unless the person consoling or being consoled was away, or real distress is seen.

Can women visit graves?

The answer is conditional. Visiting for quiet reflection and du‘ā’, without crying or wailing, is permitted, especially for an older woman; a visit likely to become about renewed grief and crying is not. Ask your local scholar for guidance on your own situation.

Is reading Surah Ya-Sin for the dead a sunnah?

The specific hadith “read Ya-Sin over your dying” is weak, so it should not be treated as a command. Reciting Qur’an generally and sending its reward to the deceased rests on sound ground, and Ya-Sin is a fine choice within that, just not because of this particular hadith.

Does reading Qur’an for the dead actually help them?

Yes. The reward of the recitation itself reaches the deceased. Some scholars of other schools see it differently, so you may hear other views.

Is a gathering on the fortieth day after death a part of Islam?

No. Family-hosted food gatherings on the first day, the third day and after a week are disliked, and the same reasoning applies to the fortieth day. It is a cultural custom, not part of the religion.

What is the best charity to give in memory of someone who has died?

Any charity given in their name benefits them, by agreement of the scholars. A sadaqah jariyah, such as a water well, is a strong choice because it is an ongoing act of charity that keeps giving reward.

Where this comes from

  • Qur’an 2:156 (the basis for “innā lillāhi wa innā ilayhi rāji‘ūn”)
  • Sahih Muslim, 918 (the du‘ā’ on hearing of a calamity, Umm Salama)
  • Sunan Abi Dawud, 3119 (a second wording of the same du‘ā’)
  • Sahih al-Bukhari, 1284 and Sahih Muslim, 923 (the Prophet’s ﷺ own ta‘ziya wording, Usama ibn Zayd)
  • Sunan Abi Dawud, 3121 (the weak report on reading Ya-Sin for the dying)
  • al-Fatawa al-Hindiyya; Radd al-Muhtar, Ibn ‘Abidin (ta‘ziya, mourning, visiting graves, and reciting Qur’an for the deceased)
  • Fath al-Qadir, as cited in Radd al-Muhtar (on food for the grieving family)

Notes

  1. al-Fatawa al-Hindiyya, Kitab al-Salat, ta‘ziya.
  2. al-Fatawa al-Hindiyya, ta‘ziya; Radd al-Muhtar, Ibn ‘Abidin, Bab Salat al-Jinaza.
  3. Khizanat al-Fatawa, as quoted in Radd al-Muhtar, Bab Salat al-Jinaza.
  4. al-Fatawa al-Hindiyya, ta‘ziya.
  5. Radd al-Muhtar, Bab Salat al-Jinaza, on visiting graves.
  6. Radd al-Muhtar, on women visiting graves, giving al-Khayr al-Ramli’s reconciliation of the two views.
  7. Radd al-Muhtar, on gifting the reward of deeds to the dead. The earlier Maliki and Shafi‘i position differed on bodily worship such as recitation.
  8. Sharh al-Lubab, as quoted in Radd al-Muhtar.
  9. Sunan Abi Dawud, 3121. al-Daraqutni said its chain is weak and that nothing sound is narrated on this, as quoted by Ibn Hajar in al-Talkhis al-Habir; Ibn Hibban included it in his Sahih.
  10. al-Fatawa al-Bazzaziyya, as quoted in Radd al-Muhtar; al-Fatawa al-Hindiyya, ta‘ziya.
  11. Fath al-Qadir, as quoted in Radd al-Muhtar. The hadith of Ja‘far’s family: Sunan Abi Dawud, 3132; Sunan al-Tirmidhi, 998.
  12. Fath al-Qadir and Sharh al-Lubab, Mulla ‘Ali al-Qari, both as quoted in Radd al-Muhtar, Bab Salat al-Jinaza, on visiting graves.
  13. al-Durr al-Mukhtar and Radd al-Muhtar, on visiting graves. Ya-Sin is supported there by a report cited from al-Bahr al-Ra’iq; the opening and close of al-Baqarah by a report cited from Sharh al-Lubab.
  14. al-Durr al-Mukhtar, Bab Salat al-Jinaza: “Ta‘ziya a second time is disliked.” Radd al-Muhtar explains it from al-Tatarkhaniyya: “Whoever has consoled once should not console again,” narrated by al-Hasan from Abu Hanifa.
  15. al-Durr al-Mukhtar: ta‘ziya “at the grave” is disliked. Radd al-Muhtar, citing al-Hilya: Ibn Shahin narrates from Ibrahim al-Nakha‘i, “Ta‘ziya at the grave is an innovation.”
  16. al-Durr al-Mukhtar: ta‘ziya “at the door of the house” is disliked. Radd al-Muhtar, citing al-Zahiriyya via al-Bahr: “Sitting at the door of the house for ta‘ziya is disliked, because it is the practice of the people of Jahiliyya.”