صحيح مسلم Sahih Muslim كتاب الإيمان The Book of Faith
باب الدَّلِيلِ عَلَى أَنَّ مَنْ مَاتَ عَلَى الْكُفْرِ لاَ يَنْفَعُهُ عَمَلٌ:

Chapter: The evidence that whoever dies upon disbelief, no good deed will benefit him

1 hadith
Hadith 214
حَدَّثَنِي أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ ، حَدَّثَنَا حَفْصُ بْنُ غِيَاثٍ ، عَنْ دَاوُدَ ، عَنِ الشَّعْبِيِّ ، عَنْ مَسْرُوقٍ ، عَنْ عَائِشَةَ ، قَالَتْ : قُلْتُ : " يَا رَسُولَ اللَّهِ ، ابْنُ جُدْعَانَ ، كَانَ فِي الْجَاهِلِيَّةِ يَصِلُ الرَّحِمَ ، وَيُطْعِمُ الْمِسْكِينَ ، فَهَلْ ذَاكَ نَافِعُهُ ؟ قَالَ : لَا يَنْفَعُهُ ، إِنَّهُ لَمْ يَقُلْ يَوْمًا : رَبِّ اغْفِرْ لِي خَطِيئَتِي يَوْمَ الدِّينِ " .
'A'isha reported: I said: Messenger of Allah, the son of Jud'an established ties of relationship, fed the poor. Would that be of any avail to him? He said: It would be of no avail to him as he did not ever say: O my Lord, pardon my sins on the Day of Resurrection.
Hadith Reference Sahih Muslim / The Book of Faith / Hadith: 214
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة ، انفرد به مسلم - انظر ((التحفة)) برقم (17623)»