The Messenger of Allah ﷺ said, "When your women ask your permission to go to the mosques, grant it to them."
حدثنا وكيع حدثنا حنظلة الجمحي عن سالم
قال رسول الله ﷺ إذا استأذنكم نساؤكم إلى المساجد فأذنوا لهن
Its isnad is sahih. Hanzala Jumahi is Ibn Abu Sufyan bin Abdul-Rahman. The hadith is abridged, 5101.