"When a man opens a pit, or when a man digs a pit and does not cover it, and an ox or a donkey falls into it,
the owner of the pit shall make restoration. He shall give money to its owner, and the dead beast shall be his.
"When one man's ox butts another's, so that it dies, then they shall sell the live ox and share its price, and the dead beast also they shall share.
Or if it is known that the ox has been accustomed to gore in the past, and its owner has not kept it in, he shall repay ox for ox, and the dead beast shall be his.