Sahih al-Bukhari, Volume 2, Book 23, Hadith 421 (USC-MSA) ⓘ
Narrated Abu Huraira: A black person, a male or a female used to clean the Mosque and then died. The Prophet (p.b.u.h) did not know about it. One day the Prophet remembered him and said, "What happened to that person?" The people replied, "O Allah's Messenger! 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.
حَدَّثَنَا مُحَمَّدُ بْنُ الْفَضْلِ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ ثَابِتٍ، عَنْ أَبِي رَافِعٍ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أَنَّ أَسْوَدَ ـ رَجُلاً أَوِ امْرَأَةً ـ كَانَ يَقُمُّ الْمَسْجِدَ فَمَاتَ، وَلَمْ يَعْلَمِ النَّبِيُّ صلى الله عليه وسلم بِمَوْتِهِ فَذَكَرَهُ ذَاتَ يَوْمٍ فَقَالَ " مَا فَعَلَ ذَلِكَ الإِنْسَانُ ". قَالُوا مَاتَ يَا رَسُولَ اللَّهِ. قَالَ " أَفَلاَ آذَنْتُمُونِي ". فَقَالُوا إِنَّهُ كَانَ كَذَا وَكَذَا قِصَّتَهُ. قَالَ فَحَقَرُوا شَأْنَهُ. قَالَ " فَدُلُّونِي عَلَى قَبْرِهِ ". فَأَتَى قَبْرَهُ فَصَلَّى عَلَيْهِ.
also referenced under: Book 23, Hadith 93 (In-Book) & Hadith 1337 (DarusSalam)