Looking at a woman with lust is committing adultery in my mind
You have heard that it was said, ‘You shall not commit adultery;’ but I tell you that everyone who gazes at a woman to lust after her has committed adultery with her already in his heart.
from The Sermon on the Mount topic