As a result , although many mosques will not enforce violations , both men and women when attending a mosque must adhere to these guidelines .

As a result , both men and women must follow this rule when they attend a mosque , even though many mosques do not enforce these rules .
