Exodus 21:34

New International Reader's Version Bible (NIRV)
Then the person who opened the pit must pay the animal’s owner for the loss. The dead animal will belong to the person who opened the pit.

Read Exodus 21:34 in other translations