Exodus 21:8

If she displeases the eyes of her lord, to whom she had been delivered, he shall dismiss her. But he shall have no authority to sell her to a foreign people, even if he despises her

Other versions

King James Version

If she please not her master, who hath betrothed her to himself, then shall he let her be redeemed: to sell her unto a strange nation he shall have no power, seeing he hath dealt deceitfully with her.

English Standard Version

If she does not please her master, who has designated her for himself, then he shall let her be redeemed. He shall have no right to sell her to a foreign people, since he has broken faith with her.

New International Version

If she does not please the master who has selected her for himself, he must let her be redeemed. He has no right to sell her to foreigners, because he has broken faith with her.