Leviticus 27:8

Amplified Bible (AMP)
But if the person is too poor to pay your valuation, then he shall be placed before the priest, and the priest shall value him; according to the ability of the one who vowed, the priest shall value him.

Read Leviticus 27:8 in other translations