Exodus 21:34 in the King James Version
The owner of the pit shall make it good, and give money unto the owner of them; and the dead beast shall be his.
Context
33 “If a man opens a pit, or if a man digs a pit and doesn’t cover it, and a bull or a donkey falls into it,
34 the owner of the pit shall make it good. He shall give money to its owner, and the dead animal shall be his.
35 “If one man’s bull injures another’s, so that it dies, then they shall sell the live bull, and divide its price; and they shall also divide the dead animal.