Funeral Prayer in Islam: Steps and Duas from the Sunnah

Learn how to perform the Janazah (Islamic funeral prayer) step by step according to the Sunnah, including the complete text and translation of all supplications.

Funeral Prayer in Islam: Steps and Duas from the Sunnah
Muslims standing in congregation performing the Janazah funeral prayer

This article was first published in Indonesian. Baca versi Bahasa Indonesia →

Introduction

Performing the funeral prayer, known in Arabic as Salat al-Janazah, is a crucial collective duty for Muslims whenever a fellow believer passes away. This prayer serves as a final mark of honor and respect for the deceased, offered in a specific manner as demonstrated by the Prophet Muhammad ﷺ. In this comprehensive guide, we examine how to perform the Janazah prayer properly according to the Sunnah, detailing its essential pillars, recommended acts, and the specific supplications (du'as) recited during its execution based on authentic Islamic sources.

What Is the Janazah Prayer?

The Janazah prayer is an act of worship carried out by the Muslim community to seek forgiveness and mercy for a deceased Muslim. In Islamic jurisprudence (fiqh), this prayer falls under the category of fardh kifayah (a communal obligation). This means that if a portion of the community fulfills it, the obligation is lifted from the rest. However, if no one steps forward to perform it, the entire community incurs sin for neglecting this collective right.

Why Is the Janazah Prayer Important?

The significance of the Janazah prayer encompasses both spiritual and social dimensions. Spiritually, it represents obedience to the commands of Allah and His Messenger ﷺ, while offering a formal channel to intercede through prayer for a deceased soul entering the realm of the afterlife. Socially, the prayer reinforces unity and solidarity within the global Muslim community (ummah), ensuring that every believer receives their divine right to be honored and prayed over by their brothers and sisters in faith.

Who Is Obligated to Perform the Janazah Prayer?

The obligation to perform the Janazah prayer applies to any Muslim who meets the general requirements for Islamic worship:

  1. Islam: The worshiper must be a Muslim.
  2. Sanity: The individual must possess their mental faculties and be capable of understanding the worship.
  3. Puberty (Baligh): The person must have reached religious maturity.
  4. Ritual Purity: The worshiper must be free from major and minor ritual impurities, ensuring cleanliness of body, clothing, and place.

While the obligation is communal, participating in it brings immense spiritual reward for every individual who attends.

When Is the Janazah Prayer Performed?

The Janazah prayer is conducted after the deceased has been fully prepared—meaning after the body has been washed (ghusl), shrouded (kafan), and placed respectfully before the congregation. It is usually performed prior to burial, and there is no fixed hour of the day assigned for it. However, scholars note that it should not be initiated during the times when regular voluntary prayers are disliked (makruh), such as precisely when the sun is rising, when it is at its zenith, or immediately as it sets, unless necessity dictates otherwise.

Where Is the Janazah Prayer Performed?

The funeral prayer is commonly conducted in a mosque, a dedicated prayer hall, or an open field capable of accommodating the congregation. Performing it within a mosque is entirely permissible and highly recommended, as recorded in authentic traditions showing that the Prophet Muhammad ﷺ performed Janazah prayers in the mosque. Nonetheless, it remains valid if offered at the funeral home, hospital chapel, or near the burial grounds prior to interment.

Step-by-Step Method and Supplications in the Janazah Prayer

Unlike standard daily prayers, the Janazah prayer is performed entirely while standing (qiyam), without any bowing (ruku'), prostration (sujud), or regular call to prayer (adhan). It consists of four distinct takbirs (saying Allahu Akbar). Here is the step-by-step procedure:

1. Intention (Niyyah)

As with all acts of worship, the prayer begins with the intention formed in the heart to offer the Janazah prayer for the sake of Allah, specifying whether one is acting as the prayer leader (imam) or a follower (makmum).

2. The First Takbir

The imam and followers raise their hands to ear or shoulder level and pronounce the first takbir (Allahu Akbar), then fold their hands over their chests as in regular prayer.

3. Reciting Surah Al-Fatihah

Immediately following the first takbir, worshipers silently recite Surah Al-Fatihah (the opening chapter of the Qur'an). Reciting Al-Fatihah is an essential pillar of the Janazah prayer according to the correct scholarly consensus.

4. The Second Takbir and Sending Blessings upon the Prophet

After completing Al-Fatihah, the worshiper pronounces the second takbir (Allahu Akbar). Without raising the hands again (according to many schools of jurisprudence), one recites the Abrahamic prayer (Al-Salawat Al-Ibrahimiyyah), just as in the final sitting of daily prayers:

Arabic:

اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ كَمَا صَلَّيْتَ عَلَى إِبْرَاهِيمَ وَعَلَى آلِ إِبْرَاهِيمَ إِنَّكَ حَمِيدٌ مَجِيدٌ. اللَّهُمَّ بَارِكْ عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ كَمَا بَارَكْتَ عَلَى إِبْرَاهِيمَ وَعَلَى آلِ إِبْرَاهِيمَ إِنَّكَ حَمِيدٌ مَجِيدٌ.

Transliteration:

Allahumma salli 'ala Muhammadin wa 'ala ali Muhammadin kama sallaita 'ala Ibrahima wa 'ala ali Ibrahima innaka hamidum majid. Allahumma barik 'ala Muhammadin wa 'ala ali Muhammadin kama barakta 'ala Ibrahima wa 'ala ali Ibrahima innaka hamidum majid.

Translation:

"O Allah, bestow Your grace upon Muhammad and upon the family of Muhammad, as You bestowed Your grace upon Ibrahim and upon the family of Ibrahim. Indeed, You are Praiseworthy and Glorious. O Allah, bestow Your blessings upon Muhammad and upon the family of Muhammad, as You bestowed Your blessings upon Ibrahim and upon the family of Ibrahim. Indeed, You are Praiseworthy and Glorious."

5. The Third Takbir and Supplication for the Deceased

Next, the worshiper pronounces the third takbir (Allahu Akbar), which is followed by sincere supplication specifically for the deceased person.

Arabic:

اللَّهُمَّ اغْفِرْ لَهُ وَارْحَمْهُ وَعَافِهِ وَاعْفُ عَنْهُ وَأَكْرِمْ نُزُلَهُ وَوَسِّعْ مُدْخَلَهُ وَاغْسِلْهُ بِالْمَاءِ وَالثَّلْجِ وَالْبَرَدِ، وَنَقِّهِ مِنَ الْخَطَايَا كَمَا نَقَّيْتَ الثَّوْبَ الْأَبْيَضَ مِنَ الدَّنَسِ، وَأَبْدِلْهُ دَارًا خَيْرًا مِنْ دَارِهِ، وَأَهْلًا خَيْرًا مِنْ أَهْلِهِ، وَزَوْجًا خَيْرًا مِنْ زَوْجِهِ، وَقِهِ فِتْنَةَ الْقَبْرِ وَعَذَابَ النَّارِ.

Transliteration:

Allahummaghfir lahu warhamhu wa 'afihi wa'fu 'anhu wa akrim nuzulahu wa wassi' mudkhalahu wagsilhu bil-ma'i wath-thalji wal-baradi wa naqqihi minal-khataya kama naqqaitath-thawbal-abyada minad-danasi wa abdilhu daran khairan min darihi wa ahlan khairan min ahlihi wa zawjan khairan min zawjihi wa qihi fitnatal-qabri wa 'adhaban-nar.

Translation:

"O Allah, forgive him, have mercy on him, grant him safety, and pardon him. Honor his abode, expand his entrance, and wash him with water, snow, and hail. Cleanse him of sins as a white garment is cleansed of stain. Give him a home better than his home, a family better than his family, and a spouse better than his spouse. Protect him from the trial of the grave and the punishment of the Fire."

Note: If the deceased is female, the pronoun is adjusted in Arabic from "lahu" to "laha", etc.

Scholarly Reference

This supplication is preserved in an authentic hadith narrated by Awf ibn Malik al-Ashja'i (may Allah be pleased with him), who reported that the Messenger of Allah ﷺ recited these exact words during a funeral prayer.

Narrated by Muslim

6. The Fourth Takbir and Closing Supplication

After the supplication for the deceased, the worshiper pronounces the fourth takbir (Allahu Akbar), followed by a brief prayer for the living and the entire ummah.

Arabic:

اللَّهُمَّ لَا تَحْرِمْنَا أَجْرَهُ، وَلَا تَفْتِنَّا بَعْدَهُ، وَاغْفِرْ لَنَا وَلَهُ

Transliteration:

Allahumma la tahrimna ajrahu wa la taftinna ba'dahu waghfir lana wa lahu.

Translation:

"O Allah, do not deprive us of his reward, do not subject us to trial after him, and forgive us and him."

Scholarly Reference

This closing du'a is documented in authentic collections of prophetic traditions.

Narrated by Abu Dawud and Ahmad

7. Taslim (Closing Salam)

After completing the fourth takbir and its corresponding du'a, the prayer is concluded with the taslim. The worshiper turns their head to the right saying, "Assalamu 'alaikum wa rahmatullah" (Peace and mercy of Allah be upon you). Some scholarly schools also include turning to the left, while performing a single turn to the right is fully sufficient according to the Sunnah.

Pillars and Essential Requirements

Pillars (Rukun) of Janazah Prayer:

  1. Intention (Niyyah) made in the heart.
  2. Standing (Qiyam) throughout the prayer for those physically able.
  3. Four Takbirs.
  4. Recitation of Surah Al-Fatihah after the first takbir.
  5. Sending blessings upon the Prophet ﷺ after the second takbir.
  6. Supplication for the deceased after the third takbir.
  7. The Taslim to end the prayer.

Prerequisites (Shurut):

  1. Islam of both the worshiper and the deceased.
  2. Ritual purity (wudu or ghusl) free from impurities.
  3. Facing the Qiblah.
  4. Covering the Awrah (private parts).

Recommended Sunnahs of the Janazah Prayer

  1. Forming Straight Rows: It is recommended to arrange the congregation into at least three straight rows behind the imam.
  2. Audible Takbirs by the Imam: The imam should pronounce the takbirs aloud so the congregation can follow seamlessly.
  3. Seeking Refuge before Al-Fatihah: Saying A'udhu billahi minash-shaytanir-rajim before reciting Surah Al-Fatihah.
  4. Performing in the Mosque: Offering the Janazah prayer in a communal mosque or designated prayer space.

Conclusion

The Janazah prayer is a profound rite of passage in Islam, combining spiritual intercession for the deceased with a solemn reminder of mortality for the living. By learning its proper steps, fulfilling its pillars, and reciting the authentic supplications handed down from the Prophet Muhammad ﷺ, Muslims fulfill a sacred duty toward their brothers and sisters in faith with devotion, respect, and hope for Allah's boundless mercy.