The Ruling on the Funeral Prayer in Absentia:
It is established in the two Sahihs that the Prophet, peace and blessings of God be upon him, went out to his Companions on the day al-Najashi, the king of Abyssinia, may God have mercy on him, died, announced his death to them, lined them up, and prayed the funeral prayer over him.
This hadith is evidence that the prayer in absentia is prescribed, although some scholars, such as the Hanafis and Malikis, said that this was specific to the Messenger, peace and blessings of God be upon him, so the prayer in absentia is not prescribed for anyone else.
The majority of scholars rejected that, because specificity is not established except by sound evidence, and the principle is that the nation is commanded to follow the Prophet, peace and blessings of God be upon him, and to take him as an example.
The scholars who say the prayer in absentia is prescribed differed over whether it is prescribed for every absent person or not. All of them cite as evidence the prayer of the Prophet, peace and blessings of God be upon him, over al-Najashi.
The Shafi'is and Hanbalis held that the prayer is prescribed for everyone absent from the town, even if the prayer was already held over him in the place where he died.
The second view: the prayer in absentia is prescribed if the person was of benefit to the Muslims, such as a scholar, a fighter in God's cause, or a wealthy person whose money benefited the people, and the like.
This view is one narration from Imam Ahmad, was chosen by Shaykh al-Sa'di, and the Permanent Committee issued a ruling according to it.
The third view: the prayer in absentia is prescribed on condition that the prayer was not already held over him in the place where he died. If it was held over him, the prayer in absentia is not prescribed.
The preferred view, and God knows best, is the view of the Shafi'is and Hanbalis, especially in a calamity like this one that has befallen us in Egypt now. We ask God for safety and well-being.
حكم الصلاة على الغائب:
ثبت في الصحيحين أن النبي صلى الله عليه وسلم خرج إلى أصحابه يوم مات النجاشي ملك الحبشة رحمه الله ، فنعاه لهم ، وصفهم وصلى عليه صلاة الجنازة .
فهذا الحديث دليل على مشروعية الصلاة على الغائب ، إلا أن بعض العلماء كالحنفية والمالكية قالوا : إن هذا خاص بالرسول صلى الله عليه وسلم فلا تشرع صلاة الغائب لغيره .
وقد رد جمهور العلماء ذلك بأن الخصوصية لا تثبت إلا بدليل صحيح ، والأصل : أن الأمة مأمورة بالاقتداء بالنبي صلى الله عليه وسلم والتأسي به .
وقد اختلف العلماء القائلون بمشروعية الصلاة على الغائب ، هل تشرع الصلاة على كل غائب أم لا ؟ وكلهم يستدل بصلاة النبي صلى عليه وسلم على النجاشي .
فذهب الشافعية والحنابلة إلى أنه تشرع الصلاة على كل غائب عن البلد ، ولو صُلِّي عليه في المكان الذي مات فيه .
والقول الثاني : أنه تشرع الصلاة على الغائب إذا كان له نفع للمسلمين ، كعالم أو مجاهد أو غني نفع الناس بماله ونحو ذلك .
وهذا القول رواية عن الإمام أحمد ، واختارها الشيخ السعدي وبه أفتت اللجنة الدائمة .
والقول الثالث : أنها تشرع الصلاة على الغائب بشرط ألا يكون قد صُلِّي عليه في المكان الذي مات فيه ، فإن صُلِّي عليه فلا تشرع صلاة الغائب عليه .
والراجح - والله اعلم - قول الشافعية والحنابلة خصوصاً في مثل هذه المصيبة التي ألمت بنا في مصر الآن نسأل الله السلامة والعافية