If he comes to you by himself, he must leave by himself. If he comes as a married man, his wife may leave with him.
“Whenever you buy a Hebrew slave, he will be your slave for six years. In the seventh year he may leave as a free man, without paying for his freedom.
If his master gives him a wife and she gives birth to sons or daughters, the wife and her children belong to the master, and the slave must leave by himself.
“Whenever a man sells his daughter into slavery, she will not go free the way male slaves do.
Then you will release him and his children to go back to their family and the property of their ancestors.