As long as the adultery is with infidels, it’s OK.
Adultery is fine as long as you are a male and there are fewer than 3 witnesses.
If you are a female and someone makes a unsubstantiated accusation you are as good as dead.