Islamic Fiqh > Funerals > The absent one's funeral prayer (salat al-gha'ib)
Praying for someone buried elsewhere: the founding example of the Prophet for the Negus, the conditions and the schools' divergences.
The funeral prayer of the absent divides the schools into 2 blocs. Shafi'is and Hanbalis permit it, based on the prayer of the Prophet in Medina for the Negus, dead in Abyssinia, with 4 takbirs (Muslim 951): the person prays facing the qibla, short or long distance, Ibn Taymiyya requiring a journey's distance. Hanafis, Malikis and one transmission of Ahmad refuse it: the presence of the body is a condition of validity, and many companions died without the Prophet praying over them (an-Nasa'i 1/284; Ibn Majah 1528); his prayer over the Negus appears to them a prophetic peculiarity. Ibn Taymiyya distinguishes: prayed over on the spot, the obligation falls. Following one's school is the prudent way.
Table of Contents :
Updated on 07 October 2026 at 6:42 PM
The funeral prayer of the absent (salat al-gha'ib) consists in praying over a dead person who is in another town, by intention, without a body laid before the faithful. The jurists have differed over its status, and the legal encyclopedia compares the 4 schools on this case by reporting the founding texts of each. It recalls along the way a practical rule valid for every funeral prayer: the one who leads it.
Before addressing the absent one, the chapter records the question of the person best placed to lead the prayer. Al-Shafi'i, in the more recent of his 2 views, gives priority to the close relative (wali) over the governor of the town. Imam Ahmad ranks thus: first the testamentary executor (wasi) designated by the dead, then the governor, then the close relative. The references of this classification are found in al-Ifsah, al-Mabsut, al-Bada'i, al-Majmu' and al-Mughni.
Ibn Rushd sets out the logic of the 2 sides: the one who favors the governor compares the funeral prayer to the Friday prayer, a prayer of community; the one who favors the close relative compares it to the other rights of the deceased, like his laying in the earth, of which the relative is more worthy. Most people of knowledge lean toward the governor. History illustrates this choice: al-Husayn ibn Ali put forward Sad ibn al-As, governor of Medina, to pray over his brother al-Hasan, saying: were it not a sunna, I would not have put you forward. Abu Bakr ibn al-Mundhir approves: this is also my view.
In the detail of the schools, Abu Hanifa gives priority to the governor and the ruler of the town over all the relatives, and al-Shafi'i said the same in his earlier view, relying upon the words reported from the Prophet: let no man lead the prayer of a man within his authority without his permission. The retained view of al-Shafi'i relies upon the verse: the kindreds have priority one over another, according to the Book (sura al-Anfal 75), and upon the nature of this prayer: a right owed to the deceased by the kindred, like marriage, where each advances according to proximity. Al-Mawardi gives its deep reason: the aim of the funeral prayer is forgiveness, mercy and abundance of supplication; now the father, the most tender and affectionate, has the supplication closest to being answered, and the close relative is better than the distant one to carry it.
The Shafi'is and the Hanbalis permit the prayer over the dead absent from the town, whether he be in the direction of the qibla or elsewhere; the person praying places himself facing the qibla. On the correct view in the 2 schools, there is no difference between a short distance and a long distance, contrary to what shaykh al-islam Ibn Taymiyya says, for whom the absent one must be separated from the town by what counts as a journey.
Their foundation is the account of Abu Hurayra on the prayer of the Prophet for the Negus, king of Abyssinia:
The Messenger of Allah announced to the people, while he was in Medina, the death of the Negus, master of Abyssinia, the very day he died. He said: a brother of yours has died, in one version: a righteous servant has died today in a land not yours; rise and pray over him. They asked: who is it? He said: the Negus; ask forgiveness for your brother. He went out with them toward the musalla, in one version toward al-Baqi, stepped forward, and they ranged themselves behind him in 2 rows, as one ranges for a dead person; they prayed over him as one prays over a dead person, and one would have thought the remains laid before him. He led the prayer and made 4 takbirs.
Muslim 951
The place of this prayer was thus the musalla of Medina, and the prayer was performed as over a present body, with its 4 takbirs, the Prophet leading and the companions aligned behind him. This account, authentic, serves as proof for those who extend the rule to every absent dead: what was done in the presence of the Prophet and his companions, without a body, may be done after them.
The Hanafis, the Malikis and Imam Ahmad in one transmission refuse the prayer over the absent one and judge it disliked, as the Malikis expressly formulate. Their reasons: among the conditions of validity of the funeral prayer figure the presence of the dead, laid before the one who prays, and his orientation toward the qibla; now these conditions are lacking for a dead absent from the town. The rule falls with its cause.
Their complementary argument: many eminent Muslims, among them reciters of the Quran, died far from Medina at the time of the Messenger of Allah, without it being reported that he prayed over them, while he cared for them and watched over them. He had said:
Let none of you die without informing me, for my prayer over him is a mercy.
an-Nasa'i 1/284; Ibn Majah 1528; al-Bayhaqi 4/48
On this basis, his prayer over the Negus is held to be a peculiarity proper to the Prophet. This is what the reference works of the 4 schools record: Ibn Abidin, al-Mabsut and al-Bada'i among the Hanafis, al-Istidhkar among the Malikis, the Bidayat al-Mujtahid of Ibn Rushd, Umdat al-Qari and the commentary of Ibn Battal, as-Saghir and al-Fawakih ad-Dawani, al-Majmu' and Rawdat at-Talibin, al-Mughni and al-Insaf, up to the Fath al-Bari of Ibn Hajar and the Tahqiq of Ibn al-Jawzi.
Shaykh al-islam Ibn Taymiyya and Ibn al-Qayyim distinguish the cases. It was not part of the guidance of the Prophet to pray over every absent dead: many Muslims died far from view and he did not pray over them; yet it is established that he prayed over the Negus the prayer of the dead. The scholars have divided over this account into 3 readings.
The 2 blocs thus share the same texts and differ over their scope: isolated founding text for the ones, prophetic peculiarity or distinction of cases for the others.
The same classical comparison addresses a neighboring question: praying over a detached part of the body. Most scholars admit the prayer over the majority of the body, for the name of dead applies to it; others admit it over the smallest part, for the respect owed to a part is that owed to the whole, especially if it be the seat of life; Ibn Rushd notes that this second way is precisely that of those who permit the prayer over the absent one. This rapprochement, recorded in the Bidayat al-Mujtahid, sheds light on the logic of each school upon the minimum required to pray: the schools broad over the part of the body are so likewise over the absence, and reciprocally.
Faced with a death abroad, the prudent way is to follow one's school: it is permitted and valid among the Shafi'is and the Hanbalis, with the orientation toward the qibla; it is left aside among the Hanafis and the Malikis in the name of the conditions of validity. In every case, the supplication for the deceased and the request of forgiveness remain open, and the reading of Ibn Taymiyya offers a clear issue when the dead has received no prayer on the spot.
Bidayat al-Mujtahid by Ibn Rushd · comparative
Chapter of the one who deserves to lead the funeral prayer; Ibn Rushd said: as for the one who deserves to be placed at the head for the prayer over the remains, it has been said: the close relative, and it has been said: the governor. The one who said the governor compared it to the Friday prayer, as a collective prayer, and the one who said the close relative compared it to the other rights of which the close relative is more worthy, like his laying in the earth and his burial; most people of knowledge hold that the governor is more worthy of it.
Abu Bakr ibn al-Mundhir said: al-Husayn ibn Ali put forward Sad ibn al-As, governor of Medina, to pray over al-Hasan ibn Ali, and said: were it not a sunna, I would not have put you forward; Abu Bakr said: this is also my view.
Most scholars hold that one prays only over the present dead. Others have said that one prays over the absent one, by virtue of the hadith of the Negus; and the dominant consensus is that this was specific to the Negus alone.
They differed over the prayer over a part of the body: most scholars admit the prayer over the majority of the body, for the name of dead encompasses it, and the one who admitted the prayer over the smallest part said: the respect owed to a part is that owed to the whole, especially if this part be the seat of life.
Yes according to the Shafi'is and the Hanbalis: the prayer of the absent is valid by intention, the person placing himself facing the qibla, whatever the distance on the correct view of the 2 schools. The Hanafis, the Malikis and one transmission of Ahmad refuse it: the presence of the body before the faithful is for them a condition of validity, and the dead already prayed over on the spot is not to be prayed over a second time.
The Negus, Christian king of Abyssinia, had protected the emigrant Muslims. On the day of his death, the Prophet announced it in Medina, went out to the musalla with his companions ranged in 2 rows and prayed over him with 4 takbirs, as over a present body (Muslim 951). From this account the schools draw opposite conclusions: legislation for all the absent, prophetic peculiarity, or case limited to whoever received no prayer.
On the correct view among the Shafi'is and the Hanbalis, no: there is no difference between short and long distance. Ibn Taymiyya for his part requires that the absent one be separated from the town by what counts as a journey, and he further limits the prayer of the absent to the dead over whom no one has prayed where he died.
The one who prays places himself facing the qibla, whether the dead be on the side of the qibla or in quite another direction. The body is absent: it is the intention that designates him, as the Prophet and his companions did at the musalla for the Negus.
According to the distinction of Ibn Taymiyya, yes: if the Muslims have already prayed over the dead where he died, the collective obligation has fallen and one does not renew the prayer of the absent. The prayer of the absent keeps its meaning when the dead has received no prayer, like the Negus dead among the unbelievers. The Shafi'is and the Hanbalis who permit it in general do not all condition the thing in this way.
Editorial method and corpus: see our editorial transparency page.