Exodus 21:29
21:29 But if the ox had the habit of goring, and its owner was warned, and he did not take the necessary precautions, and then it killed a man or a woman, the ox must be stoned and the man must be put to death.
Exodus 22:5
22:5 “If a man grazes his livestock in a field or a vineyard, and he lets the livestock loose and they graze in the field of another man, he must make restitution from the best of his own field and the best of his own vineyard.