"And if a man shall sanctify his house, holy to G‑d...the priest shall evaluate it"Leviticus 27:14.

If a person pledges to give a house to G‑d, he must follow the law prescribed in the Torah.