Hadithcore
Riyad as-Salihin, 256

Abu Hurairah (May Allah be pleased with him) reported:

A black woman (or probably a young man) used to clean the mosque. Messenger of Allah (ﷺ) missed her (or him) and asked about her (or him). He was told that she (or he) had died. He (ﷺ) said, "Why did you not inform me?" (It seemed as if) they (Companions) considered the matter insignificant. Then he (ﷺ) said, "Show me her (or his) grave." When it was shown to him, he offered (Janazah-funeral) prayer over it and said, "These graves cover those in them with darkness, and Allah illumines them for the inmates as a result of my supplication for them". <b>[Al-Bukhari and Muslim]</b>.

وعنه أن امرأة سوداء كانت تقم المسجد، أو شابا، ففقدها، رسول الله صلى الله عليه وسلم، فسأل عنها أو عنه، فقالوا‏:‏ مات‏.‏ قال‏:‏ ‏"‏ أفلا كنتم آذنتموني‏"‏ فكأنهم صغروا أمرها، أو أمره، فقال‏:‏ ‏"‏ دلوني على قبره‏"‏ فدلوه فصلى عليه، ثم قال‏:‏ ‏"‏ إن هذه القبور مملوءة ظلمة على أهلها، وإن الله تعالى ينورها لهم بصلاتي عليهم‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏ (23)

References1 variant
In-Book Reference
Introduction, Hadith 256
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) The believers’ value varies according to their deeds, so whoever does good is regarded as good.<br> 2) Cleaning mosques and removing trash from them is recommended without adorning and decorating them in a way that distracts the worshipers.<br> 3) The Hadith underlines that the Prophet (may Allah’s peace and blessings be upon him) did not know the unseen, that is why he said: “Tell me where her grave is.” He was unaware of such tangible things that were close to him, so he was unaware of matters of the unseen with greater reason!<br> 4) The Prophet (may Allah’s peace and blessings be upon him) cared well for his Companions; he used to check on them and ask about their conditions.
Related hadiths3
Compare isnād across 3 related chains →