Deuteronomy 24:1

Amplified Bible (AMP)
“When a man takes a wife and marries her, and it happens that she [a]loses his favor because he has found something indecent or unacceptable about her, and he writes her a certificate of divorce, puts it in her hand and sends her out of his house,

Read Deuteronomy 24:1 in other translations