Absentee funeral prayer (Islam)

Absentee funeral prayer in Islam, known as Salat al-Gha'ib (Arabic: صلاة الغائب), is a kind of funeral prayer performed upon a dead Muslim if they die in a place where there are no Muslims to pray for the dead. By contrast, if someone dies and a funeral prayer is said on his or her behalf, no other prayer is necessary.
The Hadith, or traditions of Muhammad, approve of offering funeral prayers for an absent person. Abu Hurayrah reports: "The Prophet informed his companions about the death of Negus (Najashi), the king of Abyssinia, the day that he died. And then the Prophet led them to the prayer ground where he lined them up and offered funeral prayer for him with four Takbirs".
The time for offering a funeral prayer for an absent person should be within one month after his death. This rule is deduced from the Mursal Hadith stating that Muhammad performed a funeral prayer on the grave of a woman one month after her death, as Sayeed Ibn al-Musayyab reports: "Saad Bin Ubadh's mother died while the Prophet (peace and blessings of Allah be upon him) was absent. When he came to Madinah one month later, he offered the funeral prayer on her grave." [Tirmizi]
Muslim scholars have different opinions regarding the funeral prayer on the absentee.
This is the opinion of a great number of eminent Muslim scholars, including Al Khattaby and Al Rawiyani. Abu Dawud in his Sunan entitled a chapter: “Chapter of performing funeral prayer on a dead Muslim who died in a land of disbelief.”
This opinion is also the belief of Ibn Taymiyah and his disciple Ibn AlQayyim. The latter said in Zad Al Mi’aad: "Sheikh Al Islam Ibn Taymiyah said: ‘The right opinion is that the Muslim who died in a land where no funeral prayer was performed on him has the right to have absentee funeral prayer performed on him". This is similar to what Muhammad did when he heard about the death of Negus of Abyssinia, the proposed ruler (in Islamic tradition) who gave refuge to the Muslims when they fled Mecca. The absentee prayer fulfills the prayer obligation so that there is no need for other prayers.
The Shaafa’is and Hanbalis believe that the funeral prayer in absentia should be held for everyone who dies away from his hometown, even if the funeral prayer is offered for him in the place where he dies.
The second view is that it is prescribed to offer the funeral prayer in absentia if the deceased had benefited the Muslims in some way, such as a scholar, a mujahid or a rich man from whose wealth the people benefited, and so on.
The third view is that it is prescribed to offer the funeral prayer in absentia so long as the funeral prayer has not been offered for the deceased in the place where he died. If the funeral prayer has been offered for him, then it is not prescribed to offer the funeral prayer for him in absentia.
Al-Khurshi (Maaliki) said (2/142): The fact that the Prophet (peace and blessings of Allah be upon him) offered the funeral prayer for the Negus (in absentia) is one of the things that applied only to him.
Something similar was stated in Badaa’i al-Sanaa’i by al-Kasaani (Hanafi) (1/312).
Al-Nawawi said in al-Majmoo’ (5/211): "Our view is that it is permissible to offer the funeral prayer for one died away from his home town, but Abu Haneefah disallowed it. Our evidence is the hadeeth about the Negus, which is saheeh and has no faults, and they do not have any valid answer to that."
Al-Shaafa’i imposed a valid restriction on offering the funeral prayer in absentia, which is that the one who offers the funeral prayer for the deceased should be one of those who would have offered the prayer for him the day he died.