Exodus 21:33-34

21:33 “If a man opens a pit or if a man digs a pit and does not cover it, and an ox or a donkey falls into it, 21:34 the owner of the pit must repay the loss. He must give money to its owner, and the dead animal will become his.