If he came in by himself, he shall go out by himself. If he is married, then his wife will go out with him.
If you buy a Hebrew servant, he will serve for six years, but in the seventh he shall go out free without paying anything.
If his master gives him a wife, and she bears him sons or daughters, the wife and her children shall belong to her master, and he will go out by himself.
If a man sells his daughter to be a female servant, she shall not go out as the male servants do.
And then he shall depart from you, both he and his children with him, and he shall return to his own family and to the possession of his fathers.