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.
ahmad:759Muḥammad b. Jaʿfar > Shuʿbah > Abū Isḥāq > Nājiyah b. Kaʿb > ʿAlī

Abu Talib has died. The Prophet ﷺ said: “Go and bury him,” ‘Ali said: He died a mushrik. He said: “Go and bury him.” “Ali said: When I had buried him, i came back to the Prophet ﷺ and he said: “Do ghusl.”  

أحمد:٧٥٩حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ عَنْ أَبِي إِسْحَاقَ قَالَ سَمِعْتُ نَاجِيَةَ بْنَ كَعْبٍ يُحَدِّثُ عَنْ عَلِيٍّ

أَنَّهُ أَتَى النَّبِيَّ ﷺ فَقَالَ إِنَّ أَبَا طَالِبٍ مَاتَ فَقَالَ لَهُ النَّبِيُّ ﷺ اذْهَبْ فَوَارِهِ فَقَالَ إِنَّهُ مَاتَ مُشْرِكًا فَقَالَ اذْهَبْ فَوَارِهِ قَالَ فَلَمَّا وَارَيْتُهُ رَجَعْتُ إِلَى النَّبِيِّ ﷺ فَقَالَ لِي اغْتَسِلْ  


See similar narrations below:

Collected by Nasāʾī
nasai:190Muḥammad b. al-Muthanná > Muḥammad > Shuʿbah > Abū Isḥāq > Nājiyah b. Kaʿb > ʿAlī

"I heard Najiyah bin Ka'b narrating from 'Ali that he came to the Prophet ﷺ and said: 'Abu Talib has died.' He said: 'Go and bury him.' He said: 'He died as an idolator.' He said: 'Go and bury him.' ('Ali said:) 'When I had buried him I went back to him and he said to me: 'Perform Ghusl.'"  

النسائي:١٩٠أَخْبَرَنَا مُحَمَّدُ بْنُ الْمُثَنَّى عَنْ مُحَمَّدٍ قَالَ حَدَّثَنِي شُعْبَةُ عَنْ أَبِي إِسْحَاقَ قَالَ سَمِعْتُ نَاجِيَةَ بْنَ كَعْبٍ عَنْ عَلِيٍّ ؓ

أَنَّهُ أَتَى النَّبِيَّ ﷺ فَقَالَ إِنَّ أَبَا طَالِبٍ مَاتَ فَقَالَ اذْهَبْ فَوَارِهِ قَالَ إِنَّهُ مَاتَ مُشْرِكًا قَالَ اذْهَبْ فَوَارِهِ فَلَمَّا وَارَيْتُهُ رَجَعْتُ إِلَيْهِ فَقَالَ لِي اغْتَسِلْ