Exodus 21:3 Holy Bible: Easy-To-Read Version (ETR)
If he is not married when he becomes your slave, when he becomes free, he will leave without a wife. But if the man is married when he becomes your slave, then he will keep his wife at the time he is made free.