(13) باب
Narrated Ibn `Umar:
One of the wives of `Umar (bin Al-Khattab) used to offer the Fajr and the `Isha' prayer in congregation in the Mosque. She was asked why she had come out for the prayer as she knew that `Umar disliked it, and he has great ghaira (self-respect). She replied, "What prevents him from stopping me from this act?" The other replied, "The statement of Allah's Messenger (ﷺ) : 'Do not stop Allah's women-slaves from going to Allah's Mosques' prevents him."
Reference: Sahih al-Bukhari 900
In-book reference: Book 11, Hadith 24
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 13, Hadith 23