Both Ex 20:14 and Deut 5:18 state Do not commit adultery.
Do not be intimate with someone that is not your spouse. Is this only for married persons? Or for any person, married or not. If you are being intimate in thoughts or actions with some one not your spouse then it is adultery. Correct?