Islam pretty much lets men have sex indiscriminately. The rules are for women.
Islam’s rules are beyond sexual relations. If you fart while saying your prayers while washing your feet in a daily ritual after going to the bathroom, you must begin the ritual all over again.
Islam is OCD writ large.