Exodus 21:27-34
English Standard Version
28"When an ox gores a man or a woman to death, the ox shall be stoned, and its flesh shall not be eaten, but the owner of the ox shall not be liable.
29But if the ox has been accustomed to gore in the past, and its owner has been warned but has not kept it in, and it kills a man or a woman, the ox shall be stoned, and its owner also shall be put to death.
30If a ransom is imposed on him, then he shall give for the redemption of his life whatever is imposed on him.
31If it gores a man 's son or daughter, he shall be dealt with according to this same rule.
32If the ox gores a slave, male or female, the owner shall give to their master thirty shekels of silver, and the ox shall be stoned.