Exodus 21:36

21:36 Or if it is known that the ox had the habit of goring, and its owner did not take the necessary precautions, he must surely pay ox for ox, and the dead animal will become his.

Exodus 22:14

22:14 “If a man borrows an animal from his neighbor, and it is hurt or dies when its owner was not with it, the man who borrowed it will surely pay.