Sahih al-Bukhari 5238
Sahih al-Bukhari · Book 67: Wedlock, Marriage (Nikaah) · The permission taken by a woman from her husband to go to the mosque
Narrated Salim's father:
حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ ، حَدَّثَنَا سُفْيَانُ ، حَدَّثَنَا الزُّهْرِيُّ ، عَنْ سَالِمٍ ، عَنْ أَبِيهِ ، عَنِ النَّبِيِّ صلى الله عليه وسلم " إِذَا اسْتَأْذَنَتِ امْرَأَةُ أَحَدِكُمْ إِلَى الْمَسْجِدِ فَلاَ يَمْنَعْهَا " .
The Prophet (ﷺ) said, "If the wife of anyone of you asks permission to go to the mosque, he should not forbid her."