Exodus 21:30

New Living Translation Bible (NLT)
However, the dead person’s relatives may accept payment to compensate for the loss of life. The owner of the ox may redeem his life by paying whatever is demanded.

Read Exodus 21:30 in other translations