Leviticus 20:10

10 “ ‘If a man commits adultery with another man’s wife—with the wife of his neighbor—both the adulterer and the adulteress are to be put to death.

Read Leviticus 20:10 Using Other Translations

And the man that committeth adultery with another man's wife, even he that committeth adultery with his neighbour's wife, the adulterer and the adulteress shall surely be put to death.
"If a man commits adultery with the wife of his neighbor, both the adulterer and the adulteress shall surely be put to death.
“If a man commits adultery with his neighbor’s wife, both the man and the woman who have committed adultery must be put to death.