Deuteronomy 22:22
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 24:1
24:1 If a man marries a woman and she does not please him because he has found something offensive in her, then he may draw up a divorce document, give it to her, and evict her from his house.