Exodus 21:34

New Living Translation Bible (NLT)
The owner of the pit must pay full compensation to the owner of the animal, but then he gets to keep the dead animal.

Read Exodus 21:34 in other translations