Exodus 21:16

21:16 “Whoever kidnaps someone and sells him, or is caught still holding him, must surely be put to death.

Exodus 21:21

21:21 However, if the injured servant survives one or two days, the owner will not be punished, for he has suffered the loss.