Sunan Abi Dawud Book 2, Hadith 175
Do not prevent the female servants of Allah from visiting the mosques of Allah, but they may go out (to the mosque) having no perfumed themselves.
The Prophet (ﷺ) said: whoever performs ablution, and performs his ablution perfectly, and then goes to the mosque and finds that the people had finished the prayer (in congregation), Allah will give him a reward like one who prayed in congregation and attended it; The reward of those who prayed in congregation will not be curtailed.
Ibn ‘Umar reported the Messenger of Allah (May peace be upon him) as saying; Do not prevent the female servant your women from visiting the mosques of Allah.