'Master' in the Bible
If his master gives him a wife and she bears him sons or daughters, the wife and children belong to her master, and he is to go out by himself.
But if the servant, in fact, says, "I love my master, my wife, and my children, and I won't go out a free man,'
then his master is to bring him before the judges and he is to bring him to the door or to the doorpost. His master is to pierce his ear with an awl, and he is to serve him permanently.
If she's displeasing to her master who selected her for himself, he must let her be redeemed. He does not have the right to sell her to foreign people, because he has dealt unfairly with her.
"If a man strikes his male or female servant with a stick and he or she dies as a direct result, the master must be punished.
But if the servant survives a day or two, the master is not to be punished because the servant is his property.
"If the ox gores a male or female servant, the owner is to give 30 shekels of silver to the servant's master, and the ox is to be stoned.