Abdullah bin Umar reported,

The Prophet ﷺ said, "If the wife of any of you asks permission to go to the mosque, he should not prevent her."In another narration, it is added that Bilal bin Abdullah said, "By Allah, we will prevent them."Abdullah turned to him and rebuked him severely, with a rebuke I had never heard him give before, and said, "I am telling you what the Messenger of Allah ﷺ said, and you reply, 'By Allah, we will prevent them'?"

Azami 6345

Sahih

عن عبد الله بن عمر

عن النبي ﷺ قال: إذا استأذنت امرأة أحدكم المسجد فلا يمنعها. وزاد في رواية: فقال بلال بن عبد الله: والله لنمنعهن، قال: فأقبل عليه عبد الله فسبه سبا سيئا، ما سمعته سبه مثله قط، وقال: أخبرك عن رسول الله ﷺ وتقول: والله لنمنعهن.

الأعظمي 6345صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Marriage
Chapter
Rights and duties of the Muslim woman, and good treatment of her
Section
Permission for women to go out to the masjid and fulfill their needs
Numbering
Jami al-Kamil 6345 (2nd edition)
Azami 6345