Free tool

How to pray janazah, the funeral prayer

The janazah prayer is four takbirs, prayed standing. Follow it one takbir at a time, with the dua for an adult, a boy or a girl.

Ruling
Fard kifayah: if some pray it, the rest are free
Takbirs
Four
Positions
Standing only: no ruku, no sajdah
Hands
Raised at the first takbir only (Hanafi)

The method shown first is the Hanafi one. Where the other madhhabs differ, the guide below explains how. Use the arrow keys to move between steps.

Guide

The janazah prayer, what to say and when

The janazah prayer is four takbirs, all standing. In the Hanafi school you say the thana after the first, the salawat on the Prophet ﷺ after the second, a dua for the deceased after the third, and the salam after the fourth. The Prophet ﷺ prayed over the Negus, the king of Abyssinia, with four takbirs.1

The janazah prayer at a glance

TakbirHanafiShafi'i and Hanbali
1stThanaAl-Fatiha
2ndSalawat on the Prophet ﷺSalawat on the Prophet ﷺ
3rdDua for the deceasedDua for the deceased
4thSalam both sidesShort dua, then salam
Hanafi position

The janazah prayer is fard kifayah: if some Muslims pray it, the obligation is lifted from the rest. Al-Fatiha is not recited as a recitation; the thana is said instead. The hands are raised only at the first takbir. It is not prayed over an absent body (salat al-ghaib), and it is disliked inside the masjid in the main Hanafi view, unless there is a need.2

Other madhhabs
Shafi'i
Al-Fatiha after the first takbir is a pillar. The hands are raised at every takbir. The prayer over an absent person (salat al-ghaib) is allowed, following the prayer over the Negus. Praying in the masjid is fine.
Maliki
No Al-Fatiha; dua after every takbir. The hands are raised at the first takbir in the well-known view. One salam. Absent janazah is not prayed.
Hanbali
Al-Fatiha after the first takbir is a pillar. The hands are raised at every takbir. One salam to the right. The absent janazah is allowed.

If you join late

If the imam has already said some takbirs, wait for his next takbir and say it with him. After his salam, say the takbirs you missed, one after the other, before the body is lifted, then give salam. In the Hanafi school you do not need to recite the duas for the missed takbirs if the body is about to be carried away.

Who prays and who leads

  • Every Muslim is prayed over, including a child, and a baby who was born alive.
  • The ruler or his deputy has the first right to lead, then the imam of the area, then the closest male relative.
  • Women may join the prayer. The Hanafi school does not ask them to follow the body to the graveyard.
  • It is recommended to form at least three rows. A hadith of Malik ibn Hubayrah in Abu Dawud and Tirmidhi says three rows of Muslims praying over someone is a cause of forgiveness; Tirmidhi graded it hasan, and others graded it weak.

For duas to make for the deceased afterwards, see dua for the deceased.

  1. Sahih al-Bukhari 1245 and 1333; Sahih Muslim 951.
  2. Al-Marghinani, al-Hidayah, Fasl fi al-Salat ala al-Mayyit; Shurunbulali, Nur al-Idah. The other madhhabs' positions are summarised from their standard manuals.

The rulings on this page are pending review by the scholars on our team.

Questions

Good to know

What do you say in the janazah prayer?

In the Hanafi school: the thana after the first takbir, the salawat on the Prophet ﷺ after the second, a dua for the deceased after the third, and the salam after the fourth.

How many takbirs are in the janazah prayer?

Four, in all four madhhabs.

Is janazah prayer fard?

It is fard kifayah, a communal obligation. If some Muslims pray it, the rest are not sinful, but they miss a great reward: the Prophet ﷺ said whoever attends until the prayer has a qirat of reward, and until the burial two qirats, each like a great mountain (Sahih al-Bukhari 1325).

Do you recite Al-Fatiha in janazah?

Not as a recitation in the Hanafi school, which says the thana instead. The Shafi'i and Hanbali schools recite Al-Fatiha after the first takbir.

What is the dua for a child in janazah?

Allahummajalhu lana faratan, wajalhu lana ajran wa dhukhran, wajalhu lana shafian wa mushaffaa for a boy, and the same in the feminine for a girl.

Can women pray janazah?

Yes. Women may join the janazah prayer, and it counts for them as for men.