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:460Aḥmad b. Wāqid > Ḥammād > Thābit > Abū Rāfiʿ > Abū Hurayrah > Āmraʾah or a man Kānat Taqum al-Masjid And Lā

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  

البخاري:٤٦٠حَدَّثَنَا أَحْمَدُ بْنُ وَاقِدٍ قَالَ حَدَّثَنَا حَمَّادٌ عَنْ ثَابِتٍ عَنْ أَبِي رَافِعٍ عَنْ أَبِي هُرَيْرَةَ

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