Deuteronomy 24:1

New International Version - UK Bible (NIVUK)
If a man marries a woman who becomes displeasing to him because he finds something indecent about her, and he writes her a certificate of divorce, gives it to her and sends her from his house,

Read Deuteronomy 24:1 in other translations