Sahih al-Bukhari 4675
Narrated Al-Musaiyab:
When Abu Talib's death approached, the Prophet went to him while Abu Jahl and 'Abdullah bin Abi Umaiya were present with him. The Prophet ﷺ said, "O uncle, say: None has the right to be worshipped except Allah, so that I may argue for your case with it before Allah." On that, Abu Jahl and 'Abdullah bin Abu Umaiya said, "O Abu Talib! Do you want to renounce 'Abdul Muttalib's religion?" Then the Prophet ﷺ said, "I will keep on asking (Allah for) forgiveness for you unless I am forbidden to do so." Then there was revealed:-- 'It is not fitting for the Prophet and those who believe that they should invoke (Allah) for forgiveness for pagans even though they be of kin, after it has become clear to them that they are companions of the Fire.' (9.113)
حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا مَعْمَرٌ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِيهِ، قَالَ لَمَّا حَضَرَتْ أَبَا طَالِبٍ الْوَفَاةُ دَخَلَ عَلَيْهِ النَّبِيُّ ﷺ وَعِنْدَهُ أَبُو جَهْلٍ وَعَبْدُ اللَّهِ بْنُ أَبِي أُمَيَّةَ، فَقَالَ النَّبِيُّ ﷺ " أَىْ عَمِّ قُلْ لاَ إِلَهَ إِلاَّ اللَّهُ. أُحَاجُّ لَكَ بِهَا عِنْدَ اللَّهِ ". فَقَالَ أَبُو جَهْلٍ وَعَبْدُ اللَّهِ بْنُ أَبِي أُمَيَّةَ يَا أَبَا طَالِبٍ، أَتَرْغَبُ عَنْ مِلَّةِ عَبْدِ الْمُطَّلِبِ. فَقَالَ النَّبِيُّ ﷺ " لأَسْتَغْفِرَنَّ لَكَ مَا لَمْ أُنْهَ عَنْكَ ". فَنَزَلَتْ مَا كَانَ لِلنَّبِيِّ وَالَّذِينَ آمَنُوا أَنْ يَسْتَغْفِرُوا لِلْمُشْرِكِينَ وَلَوْ كَانُوا أُولِي قُرْبَى مِنْ بَعْدِ مَا تَبَيَّنَ لَهُمْ أَنَّهُمْ أَصْحَابُ الْجَحِيمِ