The Prophet (ﷺ) said, "If your women ask permission to go to the mosque at night, allow them."
Sahih al-Bukhari Book 10, Hadith 256