Islamic law requires men and women to be separated in the prayer hall . Islamic law does n't require men and women to be separated in the prayer hall ; there is nothing written in the Qur ` an about the issue of space in mosques and gender separation . However , traditional rules have segregated women and men .