Exodus 21:7-9

7 "If a man sells his daughter as a slave, she is not to be set free, as male slaves are.
8 If she is sold to someone who intends to make her his wife, but he doesn't like her, then she is to be sold back to her father; her master cannot sell her to foreigners, because he has treated her unfairly.
9 If a man buys a female slave to give to his son, he is to treat her like a daughter.

Exodus 21:7-9 Meaning and Commentary

INTRODUCTION TO EXODUS 21

In this, and the two following chapters, are delivered various laws and precepts, partly of a moral, and partly of a religious, but chiefly of a civil nature, respecting the commonwealth of Israel, and its political good. This chapter treats of servants, and laws relating to them; to menservants, how long they shall serve, and what is to be done to those who are desirous of staying with their masters after their time is up, Ex 21:1-6, to maidservants, and especially betrothed ones, either to a father or a son, Ex 21:7-11, likewise it contains laws concerning the slaughter of men, whether with design or unawares, Ex 21:12-14, and concerning the ill usage of parents, Ex 21:15,17, and man stealing, Ex 21:16 and of mischief that comes by men's quarrelling and fighting, Ex 21:18,19 and by smiting a man or maidservant, Ex 21:20,21,26,27, to a woman with child, that is, by means of men's striving and contending with each other, Ex 21:22-25 and of damages that come by oxen, or to them, Ex 21:28-36.

Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.