Exodus 21:4

If his master has given him a wife, and she has borne him sons or daughters, the wife and her children shall be her master's, and he shall go out by himself.

Surrounding context

21:3 If he comes in by himself, he shall go out by himself; if he comes in married, then his wife shall go out with him.

21:4 If his master has given him a wife, and she has borne him sons or daughters, the wife and her children shall be her master's, and he shall go out by himself.

21:5 But if the servant plainly says, "I love my master, my wife, and my children; I will not go out free,'

Translation and sources