Special occasion

How to pray Janazah

الجنازةThe Funeral prayer

Janazah is a fard kifayah, a communal obligation. If some members of the community pray it, the obligation is lifted from all. It is the shortest and simplest of Islamic prayers: standing only, four takbirs, specific duas between each, ending with salam. No ruku, no sujud. The Prophet ﷺ said: 'Whoever prays the funeral prayer and does not follow it, he has one qirat of reward. Whoever follows it until burial has two qirats, and a qirat is like mount Uhud.' Sahih al-Bukhari 1325.

Time

After the body is washed and shrouded, before burial

Recitation

Quiet (silent dua between takbirs). Only the imam says the takbirs aloud.

Rak'ahs

Standing only, 4 takbirs, no ruku or sujud

About the time window

Schools differ on the three strict times (sunrise, zenith and sunset). The Shafi'i school allows the prayer at any time. The Hanafi school avoids those times unless the body was brought then. The Maliki and Hanbali schools do not pray it then unless delay would harm the body.

What makes Janazah distinct

  • 1

    Entirely standing. No bowing or prostrating.

  • 2

    Four takbirs in total, with specific duas between each.

  • 3

    No tashahhud, no second surah after al-Fatihah.

  • 4

    Ended with salam to the right (and optionally to the left).

  • 5

    A communal obligation (fard kifayah), not an individual one.

Special steps for Janazah

After the 1st takbir: al-Fatihah, or the thana'

Raise your hands at the first takbir (some schools raise at all four, some only at the first), then place them as in your daily prayer. The Shafi'i and Hanbali schools recite al-Fatihah silently here, a pillar of this prayer. The Hanafi school says the thana' (Subhanaka-llahumma...). The Maliki school begins the du'a for the deceased.

After the 2nd takbir: send salawat on the Prophet ﷺ

Recite the same Ibrahimi salawat from your five daily prayers.

اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ، كَمَا صَلَّيْتَ عَلَى إِبْرَاهِيمَ وَعَلَى آلِ إِبْرَاهِيمَ، إِنَّكَ حَمِيدٌ مَجِيدٌ
Allahumma salli 'ala Muhammadin wa 'ala ali Muhammad, kama sallayta 'ala Ibrahima wa 'ala ali Ibrahim, innaka Hamidun Majid.
O Allah, send blessings upon Muhammad and the family of Muhammad as You sent blessings upon Ibrahim and the family of Ibrahim. Indeed You are Praiseworthy, Glorious.

After the 3rd takbir: dua for the deceased

The Prophet ﷺ taught several duas at this point. The one below is the most widely transmitted. If the deceased is a woman, adjust pronouns (lahu to laha, etc.).

اللَّهُمَّ اغْفِرْ لَهُ وَارْحَمْهُ، وَعَافِهِ وَاعْفُ عَنْهُ، وَأَكْرِمْ نُزُلَهُ، وَوَسِّعْ مُدْخَلَهُ، وَاغْسِلْهُ بِالْمَاءِ وَالثَّلْجِ وَالْبَرَدِ، وَنَقِّهِ مِنَ الْخَطَايَا كَمَا يُنَقَّى الثَّوْبُ الْأَبْيَضُ مِنَ الدَّنَسِ، وَأَبْدِلْهُ دَارًا خَيْرًا مِنْ دَارِهِ، وَأَهْلًا خَيْرًا مِنْ أَهْلِهِ، وَزَوْجًا خَيْرًا مِنْ زَوْجِهِ، وَأَدْخِلْهُ الْجَنَّةَ، وَأَعِذْهُ مِنْ عَذَابِ الْقَبْرِ وَعَذَابِ النَّارِ
Allahumma-ghfir lahu wa-rhamh, wa 'afihi wa-'fu 'anh, wa akrim nuzulah, wa wassi' mudkhalah, wa-ghsilhu bi-l-ma'i wa-th-thalji wa-l-barad, wa naqqihi mina-l-khataya kama yunaqqa-th-thawbu-l-abyadu mina-d-danas, wa abdilhu daran khayran min darih, wa ahlan khayran min ahlih, wa zawjan khayran min zawjih, wa adkhilhu-l-jannah, wa a'idhhu min 'adhabi-l-qabr wa 'adhabi-n-nar.
O Allah, forgive him, have mercy on him, give him strength, pardon him. Be generous to him, cause his entrance to be wide, and wash him with water, snow, and ice. Cleanse him of sins as a white cloth is cleansed of dirt. Exchange his home for a better home, his family for a better family, his spouse for a better spouse. Admit him to the Garden. Protect him from the punishment of the grave and the punishment of the Fire.

After the 4th takbir: brief dua

A short pause with any further dua, then end with salam.

اللَّهُمَّ لَا تَحْرِمْنَا أَجْرَهُ، وَلَا تَفْتِنَّا بَعْدَهُ، وَاغْفِرْ لَنَا وَلَهُ
Allahumma la tahrimna ajrah, wa la taftinna ba'dah, wa-ghfir lana wa lah.
O Allah, do not deny us his reward, do not test us after him, and forgive us and him.

End with salam

Turn head right: As-salamu 'alaykum wa rahmatullah. Some schools consider one salam sufficient, most add a left salam as in the daily prayers.

FAQs about Janazah

Can I pray janazah for a non-Muslim relative?+

No. The janazah prayer as taught by the Prophet ﷺ is for Muslims only, because the duas between takbirs ask for forgiveness and Paradise. For a non-Muslim loved one, make personal dua for mercy in their lifetime and for your own peace.

Can I pray janazah without a body present (in absentia)?+

Schools differ. The Shafi'i and Hanbali schools allow it, citing the Prophet's ﷺ prayer for the Negus of Abyssinia (Sahih al-Bukhari 1245). The Hanafi and Maliki schools do not, treating that as specific to him.

What if I arrive late to the janazah?+

Join from the takbir the imam is on, and complete the missed takbirs after the imam ends. You do not miss out on the prayer.

Do women pray janazah?+

Yes. The Prophet ﷺ permitted women to attend. In some cultures women do not walk in the funeral procession afterward, but praying the janazah itself is permitted for all.

Is there a specific time when janazah is forbidden?+

The Prophet ﷺ forbade praying and burying the dead at three times: sunrise, zenith and sunset (Sahih Muslim 831). For the prayer itself the schools differ. Shafi'i: any time. Hanafi: avoid the three times unless the body was brought then. Maliki and Hanbali: not at those times unless delay would harm the body.

Learn the full prayer

Every daily prayer builds on the same 2-rak'ah pattern: wudu, the takbir, al-Fatihah, a surah, ruku, sujud, tashahhud, and salam. Learn the complete walkthrough once and every prayer makes sense.

Guides for every prayer