Exodus 21:4 New English Translation (NET)

If his master gave him a wife, and she bore sons or daughters, the wife and the children will belong to her master, and he will go out by himself.

Exodus 21

Exodus 21:1-11