Abdullah bin Umar reported,

The Messenger of Allah ﷺ said, "When the wife of one of you asks his permission to go to the mosque, he must not prevent her."The wife of Umar bin Khattab رضي الله عنه used to pray in the mosque, and Umar said to her, "You know that I do not like this."She replied, "By Allah, I will not stop until you forbid me."He said, "I will not forbid you."Umar was stabbed while she was in the mosque.

Ahmad 4522

Sahih

حدثنا عبد الأعلى عن معمر عن الزهري عن سالم

عن ابن عمر قال

قال رسول الله ﷺ إذا استأذنت أحدكم امرأته أن تأتي المسجد فلا يمنعها قال وكانت امرأة عمر بن الخطاب رضي الله عنه تصلي في المسجد فقال لها إنك لتعلمين ما أحب فقالت والله لا أنتهي حتى تنهاني قال فطعن عمر وإنها لفي المسجد

أحمد 4522صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Umar
Numbering
Darussalam 4522
Ahmad 4522