May one buy a house with an interest-bearing mortgage?
For the one house you live in yourself, such a loan is not forbidden in principle, because the payments in effect take the place of rent. A second house bought on interest purely for profit, however, would be a genuine interest transaction.
Interest is clearly forbidden in Islam. But today’s financial system is so tangled that the lawful and the unlawful are often woven together. The word “interest” is used for almost every kind of transaction. So a name proves nothing. Sometimes what is called interest is not really interest, and sometimes what is called profit is really interest. What matters is the substance of the contract.
A comparison helps. With hire purchase you use something before it is fully paid for, and you pay more than the cash price. A home loan is similar. For many years the house is not yet entirely yours, but you live in it. What the bank calls interest in effect replaces the rent you would have to pay anyway. Those who forgo it often pay rising rents for decades on a house that will never be theirs, with no security at all.
That is why it is justifiable for the one house you live in yourself. A second house bought on interest in order to make money is quite different. There is no link to rent at all. It would simply be dealing in interest out of greed for gain.
In all such cases simple rules apply. First, ask your own conscience. What is certainly wrong, do not do. What is doubtful, it is better to leave, as the hadith above teaches. Only where doubt and real necessity meet should you ask the local imam, who passes the case to scholars if needed. And follow that advice, even if the answer is hard to accept.