Deuteronomy 24:1-4

1 Suppose a man enters into marriage with a woman, but she does not please him because he finds something objectionable about her, and so he writes her a certificate of divorce, puts it in her hand, and sends her out of his house; she then leaves his house
2 and goes off to become another man's wife.
3 Then suppose the second man dislikes her, writes her a bill of divorce, puts it in her hand, and sends her out of his house (or the second man who married her dies);
4 her first husband, who sent her away, is not permitted to take her again to be his wife after she has been defiled; for that would be abhorrent to the Lord, and you shall not bring guilt on the land that the Lord your God is giving you as a possession.