Some of the Islamic Legislations to Prevent any Illegitimate Sexual Acts: - Separating Children in Beds. - Commanding women to be veiled and covered in the presence of strangers (non-Mahram males). - The command to ask permission before entering homes and private places to avoid seeing anything which is unlawful to look at. - Prohibiting men from imitating women and prohibiting men from imitating women. - Prohibiting intentionally listening to anything that might arouse desires such as obscene singing and anything of the sort.- Prohibiting to look at beardless young boys or sit with them for long, especially those who are good-looking.