Peaceful green meadow at sunset with a single olive tree in the centre, golden hour light
Lifecycle guide

The Janazah Guide

Death, the funeral prayer, and what to say

When a Muslim dies, the community has four collective obligations (fard kifayah): washing the body (ghusl), shrouding it (kafan), praying the funeral prayer (salat al-janazah), and burying it. Done by enough people, the obligation is lifted from all. The Prophet ﷺ taught the words to say at every stage — from the moment of receiving the news to the moment of burial.

When the news reaches you

On hearing of any death, the believer says the verse Allah teaches in Surah Al-Baqarah. It does not require the deceased to have been Muslim — it expresses the believer's own posture toward death.

Say
إِنَّا لِلَّهِ وَإِنَّا إِلَيْهِ رَاجِعُونَ
Inna lillahi wa inna ilayhi raji'oon
“Indeed, to Allah we belong and to Him we shall return.”
SourceSurah Al-Baqarah (Quran 2:156)

Closing the eyes and covering the body

The Prophet ﷺ closed the eyes of Abu Salama when he died, then said: 'When the soul is taken, the sight follows it.' (Sahih Muslim 920). The body is then covered with a sheet, the limbs gently straightened, and family informed. The body should not be left without supervision.

SourceSahih Muslim 920

The four collective obligations

These four duties are fard kifayah — if enough Muslims perform them, the obligation is met for the whole community. If none do, the whole community is at fault.

  1. Ghusl — washing the body, performed by Muslims of the same gender (a wife may wash her husband and vice versa)
  2. Kafan — shrouding in plain white cloth (three pieces for men, five for women, traditionally)
  3. Salat al-Janazah — the funeral prayer, prayed standing, with no rukoo' or sujood
  4. Burial — in a grave dug to the standard depth, body placed on its right side facing the qibla

Ghusl — washing the deceased

The body is washed with water — usually three or five times, ending with camphor or a similar fragrance, mirroring the wudu sequence. The hair of a woman is plaited into three braids. This is done by trusted Muslims of the same gender, with dignity preserved throughout. The Prophet ﷺ instructed those washing his daughter Zaynab to wash her three or five times, ending with camphor (Sahih Bukhari 1253).

SourceSahih Bukhari 1253, Sahih Muslim 939

Kafan — the shroud

Plain white cloth, ideally three pieces for a man and five for a woman. The Prophet ﷺ was shrouded in three pieces of white Yemeni cloth, with no shirt or turban (Sahih Bukhari 1264). Extravagant or dyed shrouds are discouraged — death is the great equaliser, and the shroud should reflect that.

SourceSahih Bukhari 1264, Sahih Muslim 941

Salat al-Janazah — the structure

The funeral prayer has a unique structure: it is prayed standing, with no rukoo' (bow) and no sujood (prostration). It consists of four takbirs separated by three short recitations.

  1. Takbir 1 (Allahu Akbar, hands raised) — recite Surah Al-Fatihah silently
  2. Takbir 2 — recite the Salawat on the Prophet ﷺ (the same Allahumma salli 'ala Muhammad as in tashahhud)
  3. Takbir 3 — make du'a for the deceased (the canonical wording is below)
  4. Takbir 4 — make du'a for yourself and the Muslims, then end with tasleem (one to the right; some traditions add a second to the left)
SourceSahih Muslim 957, Sahih Bukhari (Book of Janazah, multiple narrations)

After Takbir 3 — du'a for the deceased

The Prophet ﷺ taught a du'a for the deceased, summarised below. The pronouns adjust by gender.

Say
اللَّهُمَّ اغْفِرْ لِحَيِّنَا وَمَيِّتِنَا، وَشَاهِدِنَا وَغَائِبِنَا، وَصَغِيرِنَا وَكَبِيرِنَا، وَذَكَرِنَا وَأُنْثَانَا. اللَّهُمَّ مَنْ أَحْيَيْتَهُ مِنَّا فَأَحْيِهِ عَلَى الإِسْلَامِ، وَمَنْ تَوَفَّيْتَهُ مِنَّا فَتَوَفَّهُ عَلَى الإِيمَانِ
Allahumma-ghfir li-hayyina wa mayyitina, wa shahidina wa gha'ibina, wa sagheerina wa kabeerina, wa dhakarina wa unthana. Allahumma man ahyaytahu minna fa-ahyihi 'ala-l-Islami, wa man tawaffaytahu minna fa-tawaffahu 'ala-l-eemaan.
“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, whomever You keep alive among us, keep them alive on Islam; and whomever You take in death among us, take them on faith.”
SourceJami` at-Tirmidhi 1024, Sunan Abu Dawud 3201 — Sahih

Carrying the body

The body is carried to the grave on a bier, ideally by four people — one at each corner. The Prophet ﷺ said walking with the funeral procession is one of the rights a Muslim has on another Muslim (Sahih Bukhari 1240). Walking briskly is sunnah; the Prophet ﷺ said: 'Hasten with the funeral procession.' (Sahih Bukhari 1315).

SourceSahih Bukhari 1240, 1315

Burial

The grave is dug deep enough that the body cannot be reached by scavengers. The body is placed on its right side, facing the qibla, with the grave-cloth slightly loosened. Three handfuls of earth are then placed by each mourner, with the words below.

Say
بِسْمِ اللَّهِ وَعَلَى مِلَّةِ رَسُولِ اللَّه
Bismillahi wa 'ala millati Rasoolillah
“In the name of Allah and upon the way of the Messenger of Allah.”
SourceSunan Abu Dawud 3213, Jami` at-Tirmidhi 1046 — Hasan

After the burial — du'a for the deceased

After burial, the Prophet ﷺ would stand at the grave and instruct the people: 'Ask Allah to forgive your brother and to keep him firm, for he is now being questioned.' (Sunan Abu Dawud 3221). One typical du'a:

Say
اللَّهُمَّ اغْفِرْ لَهُ، اللَّهُمَّ ثَبِّتْهُ
Allahumma-ghfir lahu, Allahumma thabbithu
“O Allah, forgive him; O Allah, make him firm. (Use 'laha' / 'thabbitha' for a woman.)”
SourceSunan Abu Dawud 3221 — Sahih

Ta'ziyah — offering condolences

Visiting the bereaved family within the first three days is sunnah. There is no specific wording required — saying that you are sorry for their loss, that you are praying for them, and offering practical help is the substance of ta'ziyah. The Prophet ﷺ taught one wording for parents who lost a child:

Say
إِنَّ لِلَّهِ مَا أَخَذَ، وَلَهُ مَا أَعْطَى، وَكُلٌّ عِنْدَهُ بِأَجَلٍ مُسَمًّى، فَلْتَصْبِرْ وَلْتَحْتَسِبْ
Inna lillahi ma akhadh, wa lahu ma a'ta, wa kullun 'indahu bi-ajalin musamma, fa-l-tasbir wa-l-tahtasib
“Indeed to Allah belongs what He has taken, and to Him belongs what He has given. Everything with Him has an appointed time. So be patient and seek reward.”
SourceSahih Bukhari 1284, Sahih Muslim 923

What to avoid

The Prophet ﷺ warned against: wailing, tearing clothes, striking the cheeks (Sahih Bukhari 1294), exaggerated eulogies that praise the deceased beyond truth, building elaborate structures on graves (Sahih Muslim 968), and crying loudly. Quiet tears are permitted — the Prophet ﷺ himself wept when his son Ibrahim died, saying: 'The eye sheds tears, the heart grieves, but we say only what pleases our Lord.' (Sahih Bukhari 1303).

SourceSahih Bukhari 1294, 1303; Sahih Muslim 968
Reflection

Reflection

Janazah is the place Islamic teaching meets the rawest moment of human life. Notice the design: the obligations are collective, so no family bears them alone; the prayer is short, so no one is overburdened; the words are taught, so no one stands wordless before grief; and the burial is simple, so wealth and poverty are levelled at the grave. Performing janazah well — for a stranger, even — is a return to the deepest equality Islam teaches.

Primary sources

  • Quran on death and patience: 2:156, 3:185, 39:30
  • Sahih Bukhari (Book of Janazah, multiple narrations)
  • Sahih Muslim 920, 923, 939, 941, 957, 968
  • Sunan Abu Dawud 3201, 3213, 3221
  • Jami` at-Tirmidhi 1024, 1046

Schools differ on specifics for many lifecycle events. The shared core across traditions is what we cover here. For the precise practice in your community, consult a qualified imam or scholar in person.