(30) باب خُرُوجِ النِّسَاءِ إِلَى الْمَسَاجِدِ إِذَا لَمْ يَتَرَتَّبْ عَلَيْهِ فِتْنَةٌ وَأَنَّهَا لاَ تَخْرُجُ مُطَيَّبَةً
Ibn 'Umar reported:
Grant permission to women for going to the mosque in the night. His son who was called Waqid said: Then they would make mischief. He (the narrator) said: He thumped his (son's) chest and said: I am narrating to you the hadith of the Messenger of Allah (ﷺ), and you say: No!
Reference: Sahih Muslim 442 g
In-book reference: Book 4, Hadith 156
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 890