If he came in by himself, he shall depart by himself: if he was married, then his wife shall depart with him.
Exodus 21
Exodus 21:1-10