Women's mosques exist around the world, with a particularly rich tradition in China. As Islam has principles of segregating the sexes at times, many places of worship provide a dedicated prayer space for women within the main building, but in a few countries, separate buildings were constructed. In some cases, women were allowed to become imams.
Xiaotaoyuan Women's Mosque in Shanghai, China.
A women-only mosque in Byblos, Lebanon.
There is a difference of opinion among Muslims regarding the circumstances in which women may act as imams, i.e. to lead a mixed gendered congregation in salat (prayer). The orthodox position is that women cannot lead men in prayer, which is justified by various Quranic verses and Hadith about the roles and responsibilities of men and women.
Egyptian demonstrators in Tahrir Square, Cairo at prayer. Unusually, the women are in front of the men.