Imam Muhammad Al Ameen Ash Shanqeeti said:
“Know that the women praying in their homes is better for them than praying in the Masaajid, even if the masjid be the Masjid of the prophet صلى الله عليه و سلم.
Thus with that, you come to know that his صلى الله عليه و سلم statement
“A prayer in this Masjid of mine is better than one thousand prayers in other than it except Masjid Al Haraam (in Mecca)” is specific to the men. As for the women, then their prayers in their homes is better for them than praying in congregation in the Masjid.”
[Adwaaul Bayaan 6/162]
Majid Jawed Al-Afghanee