|This article needs additional citations for verification. (May 2011)|
Ṣalāt al-Janāzah (Arabic: صلاة الجنازة, Persian: نماز میت) is the Islamic funeral prayer; a part of the Islamic funeral ritual. The prayer is performed in congregation to seek pardon for the deceased and all dead Muslims. The Salat al-Janazah is a collective obligation upon Muslims (fard Kifayah) i.e., if some Muslims take the responsibility of doing it, the obligation is fulfilled, but if no-one fulfils it, then all Muslims will be accountable.
It is preferable that those praying divide themselves into odd rows with one person as an Imam standing alone in front and while facing in the direction of Qiblah. The body is placed in front of the Imam. If there is more than one body, then these should be put one in front of the other. The spoken part of the prayer involves quietly reciting Al-Fatiha, then praying for God to bestow peace, mercy and blessings upon the Islamic prophet Muhammad, and finally saying two du'as.
Muhammad and his companions explained how the funeral prayer is to be done, as follows: 
1. 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 breast in the usual manner, the right hand on the left seek refuge with Allah from the accursed Shayṭan, then you utter Bismillah and recite سُبحَانَکَ اللّٰھُمَّ وَ بِحَمدِکَ وَ تَبَارَکَ اسمُکَ وَ تَعَالٰی جَدُّکَ وَ جَلََّ ثَنَائُكَ وَ لَا ِالٰہَ غَیرُک َّّ Subhaanak-Allaahumma, wa bihamdika, wa tabaarakasmuka, wa ta'aalaa jadduka, wa jalla thana uka wa laa ilaaha ghayruka..
2. Then you say Takbir and Durood-e-Ibrahimi.
3. Then you say a third Takbir 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, honour 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 is recited, followed by a short pause, then a final taslim to the right, saying "Assalaamu ‘alaykum wa rahmatu-Allah" ("Peace and blessings of God be unto you").
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 (may peace be upon him), but he did not offer prayers for him.
- Kitaab Majmoo’ Fataawa wa Maqaalaat Mutanawwi’ah li Samaahat al-Shaykh ‘Abd al-‘Azeez ibn ‘Abd-Allaah ibn Baaz, vol 13, p. 141
- E-Book: Method of Namaz e Janaza, by Madani Channel
- E-Book: What to do when a Muslim dies
- Preparation of the Deceased and Janazah Prayers
- (French) Jurisprudence of funerals in the Maliki School (at-tawhid.net)