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.

Deuteronomy 24:3

24:3 If the second husband rejects her and then divorces her, gives her the papers, and evicts her from his house, or if the second husband who married her dies,