Exodus 21:29-30

NHEB(i) 29 But if the bull had a habit of goring in the past, and it has been testified to its owner, and he has not kept it in, but it has killed a man or a woman, the bull shall be stoned, and its owner shall also be put to death. 30 If a ransom is laid on him, then he shall give for the redemption of his life whatever is laid on him.