Exodus 21:7-11 New Revised Standard Version (NRSV)
7 When a man sells his daughter as a slave, she shall not go out as the male slaves do. 8 If she does not please her master, who 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 dealt unfairly with her. 9 If he designates her for his son, he shall deal with her as with a daughter. 10 If he takes another wife to himself, he shall not diminish the food, clothing, or marital rights of the first wife.[a] 11 And if he does not do these three things for her, she shall go out without debt, without payment of money.