Exodus 21:33-36
Exodus 21:33-36 MSG
“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. “If someone’s ox injures a neighbor’s ox and the ox dies, they must sell the live ox and split the price; they must also split the dead animal. But if the ox had a history of goring and the owner knew it and did nothing to guard against it, the owner must pay an ox for an ox but can keep the dead animal.”