Slm, Ok from a Hanafee perspective. Most Shafee ulema in my country would disagree with this stance (and have daleel for permisibillity of woman (if accompanied by a mahram) attending masjied as do some pseudo Salafist factions. Be careful of blanket fatwas from a specific madhaab. (FYI I'm not a Shafee.)