Hawzah News Agency – Q: A loan is acquired for performing hajj al-tamattu‘, should it’s khums be paid before using the balance for Hajj?
A: One is not required to pay khums on loaned money.
Source: https://www.leader.ir/en/book/32/Practical-Laws-of-Islam