Read Exodus 21:8 Using Other Translations
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.
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.
If she does not satisfy her owner, he must allow her to be bought back again. But he is not allowed to sell her to foreigners, since he is the one who broke the contract with her.