Hadithcore
Sahih al-Bukhari, 460
sahih

Narrated Abu Rafi:

Abu Huraira said, "A man or a woman used to clean the mosque." (A sub-narrator said, 'Most probably a woman..') Then he narrated the Hadith of the Prophet

حَدَّثَنَا أَحْمَدُ بْنُ وَاقِدٍ، قَالَ حَدَّثَنَا حَمَّادٌ، عَنْ ثَابِتٍ، عَنْ أَبِي رَافِعٍ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ امْرَأَةً ـ أَوْ رَجُلاً ـ كَانَتْ تَقُمُّ الْمَسْجِدَ ـ وَلاَ أُرَاهُ إِلاَّ امْرَأَةً ـ فَذَكَرَ حَدِيثَ النَّبِيِّ صلى الله عليه وسلم أَنَّهُ صَلَّى عَلَى قَبْرِهِ‏.‏

References2 variants
In-Book Reference
Book 8, Hadith 108
USC-MSA web (English) reference
Vol. 1, Book 8, Hadith 450 (deprecated numbering scheme)