22:22 If a man is caught having sexual relations with a married woman both the man who had relations with the woman and the woman herself must die; in this way you will purge evil from Israel.
Deuteronomy 22:25
22:25 But if the man came across the engaged woman in the field and overpowered her and raped her, then only the rapist must die.