(Imām Bukhārī narrates): Abdullah bin Muhammad narrated the hadith to us, he said: Shababah narrated the hadith to us, he said: Warqa narrated the hadith to us from Amr bin Dinar from Mujahid from Hazrat Ibn Umar (may Allah be pleased with both of them) from the Prophet ﷺ, he said:
Allow women to go to the mosques at night.
Reference: Sahih Al Bukhari 899