حَدَّثَنَا أَبُو حَنِيفَةَ مُحَمَّدُ بْنُ حَنِيفَةَ الْوَاسِطِيُّ، ثنا مَعْمَرُ بْنُ سَهْلٍ الْأَهْوَازِيُّ، ثنا عَامِرُ بْنُ مُدْرِكٍ، ثنا عَلِيُّ بْنُ صَالِحٍ، عَنْ إِبْرَاهِيمَ بْنِ مُهَاجِرٍ، عَنْ مُجَاهِدٍ، عَنِ ابْنِ عُمَرَ أَنَّ النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ: «لَا تَمْنَعُوا إِمَاءَ اللهِ مَسَاجِدَ اللهِ»
It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "Do not prevent the female servants of Allah from the mosques of Allah."