As a result , both men and women must follow this rule when they attend a mosque ( though mosques may not always enforce the rules ) .
As a result , although many mosques will not enforce violations , both men and women when attending a mosque must adhere to these guidelines .