Muhammad advised Muslims to not forbid Females from entering mosques. They are permitted to go in. The 2nd Sunni caliph 'Umar at one particular time prohibited Gals from attending mosques especially during the night due to the fact he feared They might be sexually harassed or assaulted by Adult men, so he necessary them to pray in your own home.[ni