Exodus 21:30

ESV
If a ransom is imposed on him, then he shall give for the redemption of his life whatever is imposed on him.