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:1337Muḥammad b. al-Faḍl > Ḥammād b. Zayd > Thābit > Abū Rāfiʿ > Abū Hurayrah

A black person, a male or a female used to clean the Mosque and then died. The Prophet ﷺ did not know about it . One day the Prophet ﷺ remembered him and said, "What happened to that person?" The people replied, "O Messenger of Allah ﷺ! He died." He said, "Why did you not inform me?" They said, "His story was so and so (i.e. regarded him as insignificant)." He said, "Show me his grave." He then went to his grave and offered the funeral prayer.  

البخاري:١٣٣٧حَدَّثَنَا مُحَمَّدُ بْنُ الْفَضْلِ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ ثَابِتٍ عَنْ أَبِي رَافِعٍ عَنْ أَبِي هُرَيْرَةَ ؓ

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


See similar narrations below:

Collected by Bukhārī, Aḥmad
bukhari:458Sulaymān b. Ḥarb > Ḥammād b. Zayd > Thābit > Abū Rāfiʿ > Abū Hurayrah

A black man or a black woman used to sweep the mosque and he or she died. The Prophet ﷺ asked about her (or him). He was told that she (or he) had died. He said, "Why did you not inform me? Show me his grave (or her grave)." So he went to her (his) grave and offered her (his) funeral prayer."  

البخاري:٤٥٨حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ قَالَ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ ثَابِتٍ عَنْ أَبِي رَافِعٍ عَنْ أَبِي هُرَيْرَةَ

أَنَّ رَجُلاً أَسْوَدَ أَوِ امْرَأَةً سَوْدَاءَ كَانَ يَقُمُّ الْمَسْجِدَ فَمَاتَ فَسَأَلَ النَّبِيُّ ﷺ عَنْهُ فَقَالُوا مَاتَ قَالَ أَفَلاَ كُنْتُمْ آذَنْتُمُونِي بِهِ دُلُّونِي عَلَى قَبْرِهِ أَوْ قَالَ قَبْرِهَا فَأَتَى قَبْرَهُ فَصَلَّى عَلَيْهِ  

ahmad:8634Yūnus b. Muḥammad > Ḥammād / Ibn Zayd > Thābit > Abū Rāfiʿ > Abū Hurayrah

A negress (or a youth) used to sweep the mosque. The Prophet ﷺ missed him, and when he asked about him the people told him that he had died. He said: Why have you not informed me ? He said: Lead me to his grave. So they led him and he prayed over him. (Using translation from Abū Dāʾūd 3203)   

أحمد:٨٦٣٤حَدَّثَنَا يُونُسُ بْنُ مُحَمَّدٍ حَدَّثَنَا حَمَّادٌ يَعْنِي ابْنَ زَيْدٍ عَنْ ثَابِتٍ عَنْ أَبِي رَافِعٍ عَنْ أَبِي هُرَيْرَةَ

أَنَّ امْرَأَةً سَوْدَاءَ أَوْ رَجُلًا كَانَ يَقُمُّ الْمَسْجِدَ فَفَقْدَهُ رَسُولُ اللهِ ﷺ فَسَأَلَ عَنْهُ؟ فَقَالُوا مَاتَ فَقَالَ أَلَا كُنْتُمْ آذَنْتُمُونِي بِهِ قَالُوا إِنَّهُ كَانَ قَالَ فَقَالَ دُلُّونِي عَلَى قَبْرِهِ فَدَلُّوهُ فَأَتَى قَبْرَهُ فَصَلَّى عَلَيْهِ