From Sa'id ibn al-Musayyab, related from his father: as Abu Talib's death approached, the Prophet went to him and found Abu Jahl and Abdullah ibn Abi Umayya there; the Prophet said, "O uncle, say 'there is no god but God,' so that I may argue on your behalf before God with it." Abu Jahl and Abdullah said, "O Abu Talib, are you giving up the religion of Abd al-Muttalib?", the Prophet repeated his offer, but they kept repeating the same words, until finally Abu Talib said, "I am upon the religion of Abd al-Muttalib," and refused to say the declaration of faith; the Prophet said, "by God, I will seek forgiveness for you unless I am forbidden to," whereupon the verse was revealed, "it is not fitting for the Prophet and the believers to seek forgiveness for the polytheists, even if they were relatives," and about Abu Talib it was also revealed, "you cannot guide whom you love, but God guides whom He wills." From Abu Hurayra: the Prophet said to his uncle, "say there is no god but God, so I may bear witness for you on the Day of Resurrection," Abu Talib said, "if I did not fear that the women of Quraysh would reproach me, I would gladden your eye," whereupon this verse was revealed. Al-Zajjaj says: the exegetes agree that this verse was revealed about Abu Talib.
قوله تعالى: {إنك لا تهدي من أحببت} الآية {56} . عن سعيد بن المسيب عن أبيه: لما حضرت أبا طالب الوفاة جاءه رسول الله - صلى الله عليه وسلم - فوجد عنده أبا جهل وعبد الله بن أبي أمية فقال رسول الله - صلى الله عليه وسلم -: يا عم قل لا إله إلا الله كلمة أحاج لك بها عند الله. فقال أبو جهل وعبد الله بن أبي أمية: يا أبا طالب أترغب عن ملة عبد المطلب؟ فلم يزل رسول الله - صلى الله عليه وسلم - يعرضها عليه ويعاودانه بتلك المقالة حتى قال أبو طالب آخر ما كلمهم به: أنا على ملة عبد المطلب، وأبى أن يقول: لا إله إلا الله. فقال رسول الله - صلى الله عليه وسلم -: والله لأستغفرن لك ما لم أنه عنك، فأنزل الله - عز وجل -: {ما كان للنبي والذين آمنوا أن يستغفروا للمشركين ولو كانوا أولي قربى} الآية، وأنزل في أبي طالب: {إنك لا تهدي من أحببت ولكن الله يهدي من يشاء}. وعن أبي هريرة قال: قال رسول الله - صلى الله عليه وسلم - لعمه: قل لا إله إلا الله أشهد لك بها يوم القيامة، قال: لولا أن تعيرني قريش يقولون إنه حمله على ذلك الجزع لأقررت بها عينك، فأنزل الله تعالى: {إنك لا تهدي من أحببت ولكن الله يهدي من يشاء}. قال الزجاج: أجمع المفسرون أنها نزلت في أبي طالب.