Published on

How to Pray Janazah: Complete Guide

Authors
  • Ahmad
    Name
    Ahmad
    Role
    Senior Marketing Manager, Islamic education โ€ข DeenUp

ุจูุณู’ู…ู ุงู„ู„ู‡ู ุงู„ุฑูŽู‘ุญู’ู…ูฐู†ู ุงู„ุฑูŽู‘ุญููŠู’ู…ู

In the name of God, the Most Gracious, the Most Merciful.

Rows of worshippers standing in prayer for a Janazah funeral in a mosque

You receive the news. A community member has passed. You arrive at the masjid and the rows have already formed โ€” the deceased lies before the congregation, and the imam is about to begin the Janazah prayer.

Do you know what to do?

Many Muslims have attended Janazah prayers for years without fully understanding the structure โ€” the four takbeers, what to say between them, and how the prayer ends. This guide covers everything you need to participate fully and offer a sincere supplication for the soul in front of you.

Why Janazah Is a Collective Duty

The Janazah prayer (ุตู„ุงุฉ ุงู„ุฌู†ุงุฒุฉ, salat al-janazah) is a fard kifayah โ€” a collective obligation. If enough Muslims in a community perform it, the obligation is lifted from everyone. If no one performs it, every Muslim bears the sin of the omission.

This collective structure reflects something deep about the ummah: we are responsible for each other, in life and in death.

The reward for performing it is significant. The Prophet (SAW) said: "Whoever attends the funeral prayer will have a qirat of reward, and whoever stays until the burial is done will have two qirats." When asked what qirats were, he said: "Like two great mountains." (Sahih Muslim 945)

The Janazah prayer is unlike any other โ€” no ruku, no sujood, no adhan. It is performed entirely standing, in four takbeers, and it is the last act of care Muslims offer a member of their community before they return to Allah.

Allah reminds us in the Quran: "Indeed we belong to Allah, and indeed to Him we will return." (Surah Al-Baqarah 2:156) โ€” these words are spoken when we hear of someone's death, and the Janazah prayer is how we act on them.

How to Pray Janazah: The Four Takbeers

Before You Begin

Make sure you have performed wudu (ritual purification). Face the qibla. Stand behind the imam in rows, with the deceased placed in front. No adhan or iqamah is called. Women pray in a separate section or the rows behind men.

The imam typically stands near the head of a male deceased, or near the middle of a female deceased, according to the prophetic practice.

Review the foundational movements of how to pray salah if you want to ensure your prayer form is solid before adding the Janazah specifics.

First Takbeer: Al-Fatiha

The imam calls "Allahu Akbar" โ€” raise your hands to shoulder or earlobe level, just as in the opening of any prayer. This is the first of four takbeers.

After the first takbeer, recite Surah Al-Fatiha silently. No other surah follows it in Janazah. In the Shafi'i school, a brief opening supplication (istiftah) precedes Al-Fatiha; in other schools, Al-Fatiha follows the takbeer directly.

Second Takbeer: Salawat on the Prophet

The imam calls "Allahu Akbar" again. Raise your hands as before.

After the second takbeer, recite the Ibrahimi salawat โ€” the same supplication recited at the end of every regular prayer:

ุงู„ู„ูŽู‘ู‡ูู…ูŽู‘ ุตูŽู„ูู‘ ุนูŽู„ูŽู‰ ู…ูุญูŽู…ูŽู‘ุฏู ูˆูŽุนูŽู„ูŽู‰ ุขู„ู ู…ูุญูŽู…ูŽู‘ุฏู ูƒูŽู…ูŽุง ุตูŽู„ูŽู‘ูŠู’ุชูŽ ุนูŽู„ูŽู‰ ุฅูุจู’ุฑูŽุงู‡ููŠู…ูŽ ูˆูŽุนูŽู„ูŽู‰ ุขู„ู ุฅูุจู’ุฑูŽุงู‡ููŠู…ูŽ ุฅูู†ูŽู‘ูƒูŽ ุญูŽู…ููŠุฏูŒ ู…ูŽุฌููŠุฏูŒ

Allahumma salli 'ala Muhammadin wa 'ala ali Muhammadin kama sallayta 'ala Ibrahima wa 'ala ali Ibrahima innaka Hamidum Majid.

"O Allah, send blessings upon Muhammad and upon the family of Muhammad, as You sent blessings upon Ibrahim and the family of Ibrahim. You are indeed Worthy of Praise, Full of Glory."

Third Takbeer: Dua for the Deceased

The imam calls "Allahu Akbar" a third time. This is the heart of the Janazah prayer โ€” your direct supplication for the soul of the deceased.

Recite the dua reported from the Prophet (SAW):

ุงู„ู„ูŽู‘ู‡ูู…ูŽู‘ ุงุบู’ููุฑู’ ู„ูŽู‡ู ูˆูŽุงุฑู’ุญูŽู…ู’ู‡ู ูˆูŽุนูŽุงููู‡ู ูˆูŽุงุนู’ูู ุนูŽู†ู’ู‡ู ูˆูŽุฃูŽูƒู’ุฑูู…ู’ ู†ูุฒูู„ูŽู‡ู ูˆูŽูˆูŽุณูู‘ุนู’ ู…ูุฏู’ุฎูŽู„ูŽู‡ู ูˆูŽุงุบู’ุณูู„ู’ู‡ู ุจูุงู„ู’ู…ูŽุงุกู ูˆูŽุงู„ุซูŽู‘ู„ู’ุฌู ูˆูŽุงู„ู’ุจูŽุฑูŽุฏู ูˆูŽู†ูŽู‚ูู‘ู‡ู ู…ูู†ูŽ ุงู„ู’ุฎูŽุทูŽุงูŠูŽุง ูƒูŽู…ูŽุง ู†ูŽู‚ูŽู‘ูŠู’ุชูŽ ุงู„ุซูŽู‘ูˆู’ุจูŽ ุงู„ู’ุฃูŽุจู’ูŠูŽุถูŽ ู…ูู†ูŽ ุงู„ุฏูŽู‘ู†ูŽุณู ูˆูŽุฃูŽุจู’ุฏูู„ู’ู‡ู ุฏูŽุงุฑุงู‹ ุฎูŽูŠู’ุฑุงู‹ ู…ูู†ู’ ุฏูŽุงุฑูู‡ู ูˆูŽุฃูŽู‡ู’ู„ุงู‹ ุฎูŽูŠู’ุฑุงู‹ ู…ูู†ู’ ุฃูŽู‡ู’ู„ูู‡ู ูˆูŽุฒูŽูˆู’ุฌุงู‹ ุฎูŽูŠู’ุฑุงู‹ ู…ูู†ู’ ุฒูŽูˆู’ุฌูู‡ู ูˆูŽุฃูŽุฏู’ุฎูู„ู’ู‡ู ุงู„ู’ุฌูŽู†ูŽู‘ุฉูŽ ูˆูŽุฃูŽุนูุฐู’ู‡ู ู…ูู†ู’ ุนูŽุฐูŽุงุจู ุงู„ู’ู‚ูŽุจู’ุฑู ูˆูŽุนูŽุฐูŽุงุจู ุงู„ู†ูŽู‘ุงุฑู

"O Allah, forgive him, have mercy on him, grant him well-being, pardon him, honor his dwelling, widen his entrance, wash him with water, snow, and hail, purify him of sins as a white garment is purified of filth, give him an abode better than his home, a family better than his family, and a spouse better than his spouse, admit him into Paradise, and protect him from the punishment of the grave and the punishment of the Fire."

โ€” (Sahih Muslim 963, Abu Dawud 3202)

Adjusting for the deceased: Use lahu (ู„ู‡) for a male, laha (ู„ู‡ุง) for a female, lahum (ู„ู‡ู…) for multiple deceased. The imam will lead with the appropriate pronoun.

If you have not memorized the full dua, a sincere, shorter supplication is still a genuine act of worship. How to make dua properly covers the principles of heartfelt supplication that apply here as much as in any moment of your prayer life.

Fourth Takbeer: Closing the Prayer

The imam calls "Allahu Akbar" a fourth time. After this takbeer, some scholars recommend a brief additional dua โ€” either for the deceased, for yourself, or for the Muslim community. Others stand briefly in silence. Either practice is valid.

The prayer closes with tasleem โ€” "As-salamu alaykum wa rahmatullah" โ€” turning to the right. Some scholars say two salams (right and left), others say one. Follow your local imam.

Being Present for Your Community

Attending Janazah prayer is one of the six rights of a Muslim upon another Muslim. The Prophet (SAW) instructed us to follow the bier, pray over the deceased, and be present at burial when possible.

This is not only about reward โ€” though the reward is immense. It is about the living reminder that death is real, and that how we live today shapes what others will pray for when we are the one lying in those rows.

Deepen your understanding of Islamic practice

DeenUp gives you Quran-grounded answers to your Islamic questions, daily duas, and habit tracking to help you show up for the practices that matter โ€” in life and in service to your community.

Download DeenUp โ€” Free on iOS

The Deen Back blog on dua for the deceased offers additional supplications to make after Janazah and at the graveside. And the Demi Manifest piece on remembering death in Islam explores how regular reflection on mortality โ€” a prophetic recommendation โ€” shapes the Muslim character.

For broader context on the practices that define a Muslim life, the top 10 Islamic practices guide places Janazah within the wider fabric of communal obligations.

Common Mistakes in Janazah Prayer

Expecting ruku and sujood. Janazah prayer has no bowing and no prostration. It is entirely standing. If you go into ruku out of habit, you have deviated from the prayer โ€” stay standing throughout.

Not knowing what to say and going silent. Silence after a takbeer is not a ruining of the prayer, but it wastes one of the most powerful opportunities you have to supplicate for a Muslim soul. Even a brief, heartfelt dua in your own language after the third takbeer is better than nothing.

Assuming it can only be performed by men. Women are encouraged to pray Janazah. Their du'a for the deceased carries equal weight before Allah.

Leaving after the prayer without staying for burial. The hadith about two qirats โ€” one for the prayer, one for staying until burial โ€” is a clear invitation to commit fully when circumstances allow it. The second qirat is described as "like a great mountain."

Common Questions About Janazah Prayer

How is Janazah different from a regular salah?

Janazah has no adhan, no iqamah, no ruku, and no sujood. It consists of four takbeers with specific recitations between them, ends with tasleem, and is performed only when there is a deceased Muslim to pray over. It is one of the most distinctive prayers in the Islamic tradition.

Can I lead the Janazah prayer?

The closest male relative of the deceased has the most right to lead, followed by an imam or Islamic scholar. In the absence of family, any knowledgeable Muslim man may lead. If only women are present, a woman may lead the prayer.

How many people are required to pray Janazah?

Technically, one person praying Janazah fulfills the fard kifayah for the community. But the more Muslims who participate, the greater the communal supplication for the deceased. Scholars note that a larger congregation increases the chance that some of those praying will be accepted before Allah.

Does the Janazah prayer require the body to be present?

The majority position is yes โ€” the body should be physically present in front of the congregation. The Salat al-Ghaib (absent funeral prayer) is a minority but valid opinion used when a Muslim dies far away. Ask your local scholar about this if the situation arises.

Carrying Each Other Home

Every Muslim will be prayed over. Every one of us will lie in those rows one day, depending on the supplications of those we leave behind. The Janazah prayer is a reminder of that mutual responsibility โ€” and a chance to offer the most sincere dua you can for a soul that now needs it more than ever.

The daily duas for Muslim life guide includes supplications for the grieving family and for those who have passed, which you can add to your personal practice beyond the formal prayer.

Stay connected to the practices that matter

DeenUp helps you track Islamic practices, access Quran-grounded answers, and receive daily duas โ€” including supplications for times of loss and remembrance. Build the habits of a Muslim who shows up.

Download DeenUp โ€” Free on iOS

Frequently Asked Questions

Is Janazah prayer obligatory in Islam?

Janazah prayer is fard kifayah โ€” a collective obligation. If enough Muslims pray it, the obligation is lifted from the community. If no Muslim prays it, the entire community bears the sin. You should participate whenever you are able.

Can women pray the Janazah prayer?

Yes โ€” women can and should pray the Janazah prayer. They typically pray in a separate section at the masjid. Attendance at the graveside for burial varies among madhabs, but the prayer itself has no gender restriction.

What if I don't know the Arabic dua for the deceased?

Use a shorter version: Allahumma ighfir lahu warhamhu (O Allah, forgive him and have mercy on him). Change 'lahu' to 'laha' for a female. The sincerity of your supplication matters as much as its length.

What if I arrive late and miss some of the takbeers?

Join the prayer wherever the imam is and follow along. After the imam gives tasleem, complete any missed takbeers before giving your own tasleem. Ask your local imam about the school-specific ruling on this.