Exodus 21:28-36

ISV(i) 28 “If an ox gores a man or woman so that they die, the ox is certainly to be stoned and its flesh may not be eaten, but the owner of the ox is free from liability. 29 But if the ox has gored previously, and its owner has been warned about it but didn’t restrain it, and it kills a man or woman, the ox is to be stoned and its owner also is to be put to death. 30 If a fine is imposed on him, he may pay all that was imposed on him as a ransom for his life. 31 This same ordinance applies if it gores a son or daughter.
32 “If the ox gores a male or female servant, the owner is to give 30 shekels of silver to the servant’s master, and the ox is to be stoned. 33 If a man opens a pit or digs a pit and does not cover it, and an ox or donkey falls into it, 34 the owner of the pit is to make restitution. He is to pay money to its owner, and the dead animal will become his.
35 “If a man’s ox strikes his neighbor’s ox and it dies, they are to sell the live ox and divide the money. They also are to divide the dead animal. 36 But if it was known that the ox had gored previously, and its owner didn’t restrain it, he shall certainly repay ox for ox, and the dead ox will become his.”