Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:6681Abū al-Yamān > Shuʿayb > al-Zuhrī > Saʿīd b. al-Musayyab from his father

When the death of Abu Talib approached, Messenger of Allah ﷺ came to him and said, "Say: La ilaha illallah, a word with which I will be able to defend you before Allah."  

البخاري:٦٦٨١حَدَّثَنَا أَبُو الْيَمَانِ أَخْبَرَنَا شُعَيْبٌ عَنِ الزُّهْرِيِّ قَالَ أَخْبَرَنِي سَعِيدُ بْنُ الْمُسَيَّبِ عَنْ أَبِيهِ قَالَ

لَمَّا حَضَرَتْ أَبَا طَالِبٍ الْوَفَاةُ جَاءَهُ رَسُولُ اللَّهِ ﷺ فَقَالَ قُلْ لاَ إِلَهَ إِلاَّ اللَّهُ كَلِمَةً أُحَاجُّ لَكَ بِهَا عِنْدَ اللَّهِ  


See similar narrations below:

Collected by Suyūṭī
suyuti:9236a
Request/Fix translation

  

السيوطي:٩٢٣٦a

"أَىْ عَمِّ قُلْ: لَا إِلَهَ إِلَّا اللَّهُ كَلِمةً أُحَاجُّ لَكَ بهَا عِنْدَ اللَّهِ".  

[خ] البخاري [م] مسلم عن ابن المسيب عن أَبيه أَن أَبا طالب لَمَّا حضرته الوفاة قال له النبى ﷺ: فذكره