The Messenger of Allah ﷺ said, "Do not prevent the female servants of Allah from coming to," or he said, "from praying in the mosque."
حدثنا إبراهيم بن خالد حدثنا رباح عن معمر عن أيوب عن نافع
قال رسول الله ﷺ لا تمنعوا إماء الله أن يأتين أو قال يصلين في المسجد