(3) باب الدُّخُولِ عَلَى الْمَيِّتِ بَعْدَ الْمَوْتِ إِذَا أُدْرِجَ فِي كَفَنِهِ
Narrated Kharija bin Zaid bin Thabit:
Um Al-`Ala', an Ansari woman who gave the pledge of allegiance to the Prophet (ﷺ) said to me, "The emigrants were distributed amongst us by drawing lots and we got in our share `Uthman bin Maz'un. We made him stay with us in our house. Then he suffered from a disease which proved fatal when he died and was given a bath and was shrouded in his clothes, Allah's Messenger (ﷺ) came I said, 'May Allah be merciful to you, O Abu As-Sa'ib! I testify that Allah has honored you'. The Prophet (ﷺ) said, 'How do you know that Allah has honored him?' I replied, 'O Allah's Messenger (ﷺ)! Let my father be sacrificed for you! On whom else shall Allah bestow His honor?' The Prophet (ﷺ) said, 'No doubt, death came to him. By Allah, I too wish him good, but by Allah, I do not know what Allah will do with me though I am Allah's Messenger (ﷺ). ' By Allah, I never attested the piety of anyone after that."
Reference: Sahih al-Bukhari 1243
In-book reference: Book 23, Hadith 6
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 23, Hadith 334