(30) باب خُرُوجِ النِّسَاءِ إِلَى الْمَسَاجِدِ إِذَا لَمْ يَتَرَتَّبْ عَلَيْهِ فِتْنَةٌ وَأَنَّهَا لاَ تَخْرُجُ مُطَيَّبَةً
Abdullah b. Umar reported:
I heard Allah's Messenger (ﷺ) say: Don't prevent your women from going to the mosque when they seek your permission. Bilal b. 'Abdullah said: By Allah, we shall certainly prevent them. On this'Abdullah b. Umar turned towards him and reprimanded him to harshly as I had never heard him do before. He ('Abdullah b. Umar) said: I am narrating to you that which comes from the Messenger of Allah (ﷺ) and you (have the audicity) to say: By Allah, we shall certainly prevent them.
Reference: Sahih Muslim 442 b
In-book reference: Book 4, Hadith 151
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 885