Exodus 21:4

Amplified Bible (AMP)
If his master gives him a wife, and she gives birth to sons or daughters, the wife and her children shall belong to her master, and he shall leave [your service] alone.

Read Exodus 21:4 in other translations