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. (Using translation from Abū Dāʾūd 565)
أَنَّ النَّبِيَّ ﷺ قَالَ «لَا تَمْنَعُوا إِمَاءَ اللهِ الْمَسَاجِدَ وَلْيَخْرُجْنَ تَفِلَاتٍ»