Masechet Arakhin, Perek Hei, Mishnah Hei. Mishnah says, “Shor zeh olah, bayit zeh korban.” If a person says, “This specific ox should be an olah offering,” or, “The house that I have here should be a donation to the Bet HaMikdash,” which means that the house should be sold and the money given to the Bet HaMikdash, if the ox died before it could be donated, or the house collapsed before the treasurer took possession of it, the person who made the swear is not obligated to pay anything. He dedicated the specific ox or house. Once that ox or that house is no longer in existence, there’s no dedication, there’s no obligation anymore.
Demei shor zeh alai olah. Or, Demei bayit zeh alai korban. If somebody says, “I accept upon myself the value of this ox as an olah offering. So I’ll bring an olah offering that’s worth the same as this particular ox.” Or, “I accept upon myself to give the value of this house as a donation to the Bet HaMikdash. I’ll donate the exact amount of money that this house is worth.”
Met ha-shor ve-nafal ha-bayit. If the ox died or the house collapsed before it could be evaluated, Chayav le-shalem. He’s obligated to evaluate the ox or the house that collapsed and pay their value to the Bet HaMikdash based on the values that they are right now. So he has to go evaluate the ox or the house that collapsed. Even though they don’t have their original value, they still have some value. Even though we learned earlier that when a person dies, there’s no evaluation when it comes to an animal or a house. They could be evaluated afterwards. A person has no value since he can’t do any work. But the ox does have some value. You could use the corpse, and the house that fell—you could use the stone. So whatever you evaluate them at that point in time, you’re obligated to give the value to the Bet HaMikdash.

