أَنَّ امْرَأَةً ـ أَوْ رَجُلاً ـ كَانَتْ تَقُمُّ الْمَسْجِدَ ـ وَلاَ أُرَاهُ إِلاَّ امْرَأَةً ـ فَذَكَرَ حَدِيثَ النَّبِيِّ صلى الله عليه وسلم أَنَّهُ صَلَّى عَلَى قَبْرِهِ.
Abu Hurairah reported that a woman – or a man – used to sweep the mosque – and I think it was none other than a woman – and he mentioned the report of the Prophet ﷺ that he prayed (the funeral prayer) at his grave.
also in Sahih al-Bukhari 458