Exodus 21:7-11 And if a man sell his daughter to be a maidservant:
Step 1:  she shall not go out as the menservants do. If she please not her master, who hath betrothed her to himself,
Step 2: 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. And if he have betrothed her unto his son,
Step 3:  he shall deal with her after the manner of daughters.
If he take him another wife,
Step 4:  her food, her raiment, and her duty of marriage, shall he not diminish.
And  if he do not these three unto her.
Step 5: then shall she go out free without money.