أَلَيْسَ اللَّهُ نَهَاكَ أَنْ تُصَلِّيَ عَلَى الْمُنَافِقِينَ فَقَالَ " أَنَا بَيْنَ خِيرَتَيْنِ قَالَ {اسْتَغْفِرْ لَهُمْ أَوْ لاَ تَسْتَغْفِرْ لَهُمْ إِنْ تَسْتَغْفِرْ لَهُمْ سَبْعِينَ مَرَّةً فَلَنْ يَغْفِرَ اللَّهُ لَهُمْ} ". فَصَلَّى عَلَيْهِ فَنَزَلَتْ {وَلاَ تُصَلِّ عَلَى أَحَدٍ مِنْهُمْ مَاتَ أَبَدًا}
Narrated Ibn `Umar: When `Abdullah bin Ubai (the chief of hypocrites) died, his son came to the Prophet (ﷺ) and said, "O Allah's Messenger (ﷺ)! Please give me your shirt to shroud him in it, offer his funeral prayer and ask for Allah's forgiveness for him." So Allah's Messenger (ﷺ) (p.b.u.h) gave his shirt to him and said, "Inform me (When the funeral is ready) so that I may offer the funeral prayer." So, he informed him and when the Prophet intended to offer the funeral prayer, `Umar took hold of his hand and said, "Has Allah not forbidden you to offer the funeral prayer for the hypocrites? The Prophet (ﷺ) said, "I have been given the choice for Allah says: '(It does not avail) Whether you (O Muhammad) ask forgiveness for them (hypocrites), or do not ask for forgiveness for them. Even though you ask for their forgiveness seventy times, Allah will not forgive them. (9.80)" So the Prophet (ﷺ) offered the funeral prayer and on that the revelation came: "And never (O Muhammad) pray (funeral prayer) for any of them (i.e. hypocrites) that dies." (9. 84)
مواضع دراسته في كتب التخريج والشروح
فتح الباري شرح صحيح البخاريج٣ ص١٦٥·كِتَاب الْجَنَائِز
عمدة القاري شرح صحيح البخاريج٨ ص٥٣·كتاب الجنائز
الاعتبار في الناسخ والمنسوخج١ ص٤٦٤·كِتَابُ الْجَنَائِزِج١ ص٤٦٤·كِتَابُ الْجَنَائِزِج١ ص٤٦٤·كِتَابُ الْجَنَائِزِ
شرح مشكل الآثارج١ ص٧٠·بَابٌ بَيَانُ مُشْكِلِ مَا رُوِيَ عَنْهُ عَلَيْهِ السَّلَامُ مِمَّا كَانَ مِنْهُ فِي عَبْدِ اللَّهِ بْنِ أُبَيٍّ بْنِ سَلُولَ رَأْسِ الْمُنَافِقِينَ بَعْدَ مَوْتِهِ مِنْ صَلَاتِهِ عَلَيْهِج١ ص٧٠·بَابٌ بَيَانُ مُشْكِلِ مَا رُوِيَ عَنْهُ عَلَيْهِ السَّلَامُ مِمَّا كَانَ مِنْهُ فِي عَبْدِ اللَّهِ بْنِ أُبَيٍّ بْنِ سَلُولَ رَأْسِ الْمُنَافِقِينَ بَعْدَ مَوْتِهِ مِنْ صَلَاتِهِ عَلَيْهِ
إتحاف المهرة بالفوائد المبتكرة من أطراف العشرةج٩ ص٢٢٢·عَبْدِ اللَّهِ بْنِ عُمَرَ بْنِ الْخَطَّابِ
تحفة الأشراف بمعرفة الأطرافج٦ ص١٧٢·حرف العين