Hawzah News Agency – Q: Does khums apply to the money saved gradually intending to buy a house or other life necessities?
A: If, according to the financial status of the person, buying their life necessities depends on saving annual earnings and they decide to spend these savings to purchase such things within several days, then such savings are not subject to khums.
Source: https://www.leader.ir/en/book/32/Practical-Laws-of-Islam