3 If he comes in by himself, he shall go out by himself. If he is married, then his wife shall go out with him.
Exodus 21:3 Cross References - WEB
Deuteronomy 15:12-14
12 If your brother, a Hebrew man, or a Hebrew woman, is sold to you and serves you six years, then in the seventh year you shall let him go free from you.
13 When you let him go free from you, you shall not let him go empty.
14 You shall furnish him liberally out of your flock, out of your threshing floor, and out of your wine press. As Yahweh your God has blessed you, you shall give to him.