Exodus 21:3 - Kjv

If he came in by himself, he shall go out by himself: if he were married, then his wife shall go out with him.