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.

Exodus 21:34

21:34 the owner of the pit must repay the loss. He must give money to its owner, and the dead animal will become his.