Deuteronomy 22:22-23

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.

22:23 If a virgin is engaged to a man and another man meets her in the city and has sexual relations with her,

Deuteronomy 22:30

22:30 (23:1) A man may not marry his father’s former wife and in this way dishonor his father.