Deuteronomy 24:1-4

CLV(i) 1 When a man takes a wife and possesses her, and it comes to be that she should not find favor in his eyes, because he has found in her the nakedness of anything, then he would write for her a scroll of divorce, give it into her hand and send her away from his house. 2 When she goes forth from his house, goes and becomes another man's, 3 and the man (the latter one) dislikes her, then he would write for her a scroll of divorce, give it into her hand and send her away from his house. Or when the man should die (the latter one who took her to himself as a wife), 4 then her possessor (the former one who had sent her away) shall not be able to reverse himself to take her back to become his wife after she had had herself defiled, for that is an abhorrence before Yahweh. You shall not bring about sin in the land that Yahweh your Elohim is giving to you as an allotment.