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