"The Messenger of Allah (ﷺ) said: 'When the wife of any one of you asks for permission to go to the Masjid, do not stop her.'"
Sunan an-Nasa'i Book 8, Hadith 19