The Messenger of Allah ﷺ said: Do not deprive women of their share of the mosques, when they seek permission from you. Bilal said: By Allah, we would certainly prevent them. 'Abdullah said: I say that the Messenger of Allah ﷺ said it and you say: We would certainly prevent them!
قَالَ رَسُولُ اللَّهِ ﷺ لاَ تَمْنَعُوا النِّسَاءَ حُظُوظَهُنَّ مِنَ الْمَسَاجِدِ إِذَا اسْتَأْذَنُوكُمْ فَقَالَ بِلاَلٌ وَاللَّهِ لَنَمْنَعُهُنَّ فَقَالَ لَهُ عَبْدُ اللَّهِ أَقُولُ قَالَ رَسُولُ اللَّهِ ﷺ وَتَقُولُ أَنْتَ لَنَمْنَعُهُنَّ