Ṣalāt al-Janāzah (Arabic: صلاة الجنازة) is the name of the special prayer that accompanies an Islamic funeral. It is performed in congregation to seek pardon for the deceased and all dead Muslims,[1] and is a collective obligation (farḍ al-kifāya) upon all able-bodied Muslims; if some Muslims take the responsibility of conducting the prayer, then the obligation is fulfilled, but all Muslims will be accountable if this obligation is not fulfilled by anyone.[2]
Consensus on performing the funeral prayer when the body is not present varies among Islamic schools of thought. It is generally not permitted by the Hanafi and Maliki schools, is permitted in the Hanbali school, and is recommended in the Shafi'i school.
It is preferable that those praying divide themselves into odd rows with one person as an imam standing alone in front and while facing the qiblah. The body is placed in front of the Imam. If there is more than one body, then these should be put in front of the other. The spoken part of the prayer involves quietly reciting sura Al-Fatiha, then praying for God to bestow peace, mercy and blessings on Muhammad, and finally saying two du'as. There is no ruku in Janazah prayer.[3]
Having the appropriate neeyat (intention) in your heart, You say the first takbir while raising your hands, then you fold and hold your hands on your chest in the usual manner, the right hand on the left, then you seek refuge with Allah from the accursed Shayṭan, then you utter Bismillah and recite Al-Fatiha (with regard to Hanafis, they only recite the Thana or Sana - an optional du'aa or supplication usually said in all of the 5 daily prayers)
Then you say Takbir (raising of the hands is optional) and Durood-i Ibrahimi.
Then you say the third Takbir (raising of the hands is optional) and make du'a for the deceased.
It is narrated that Muhammad said:
"O God, forgive our living and our dead, those who are present among us and those who are absent, our young and our old, our males and our females. O God, whoever You keep alive, keep him alive in Islam, and whoever You cause to die, cause him to die with faith. O God, do not deprive us of the reward and do not cause us to go astray after this. O God, forgive him and have mercy on him, keep him safe and sound and forgive him, honor his rest and ease his entrance; wash him with water and snow and hail, and cleanse him of sin as a white garment is cleansed of dirt. O God, give him a home better than his home and a family better than his family. O God, admit him to Paradise and protect him from the torment of the grave and the torment of Hell-fire; make his grave spacious and fill it with light."
It is acceptable for other words to be used for du'a; for example, one could say:
O God, if he was a doer of good, then increase his good deeds, and if he was a wrongdoer, then overlook his bad deeds. O God, forgive him and give him the steadiness to say the right thing.
4. Then a fourth Takbir (again, raising the hands is optional) is recited, followed by a short pause, then a final taslim to the right, saying "Assalaamu ‘Alaykum Warahmatullah" ("Peace and mercy of God be unto you"). Shafi'is and Malikis say 1 salam is obligatory and 2 is optional while Hanafis says you have to give 2 salams and Hanbalis says you have to give 1 salam.
Exceptions
According to an authentic hadith, Muhammad did not say the burial prayers of a person who committed suicide;[5]
Jabir b. Samura reported: [The dead body] of a person who had killed himself with a broad-headed arrow was brought before the Apostle of Allah, but he did not offer prayers for him.
Another exception is for one who hasn't paid off debts until someone paid them on the deceased person's behalf.