28-32"If an ox gores a man or a woman to death, the ox must be stoned. The meat cannot be eaten but the owner of the ox is in the clear. But if the ox has a history of goring and the owner knew it and did nothing to guard against it, then if the ox kills a man or a woman, the ox is to be stoned and the owner given the death penalty. If a ransom is agreed upon instead of death, he must pay it in full as a redemption for his life. If a son or daughter is gored, the same judgment holds. If it is a slave or a handmaid the ox gores, thirty shekels of silver is to be paid to the owner and the ox stoned.
33-34"If someone uncovers a cistern or digs a pit and leaves it open and an ox or donkey falls into it, the owner of the pit must pay whatever the animal is worth to its owner but can keep the dead animal.