Question :

I want to buy a house by having a loan from a bank?

The Answer :

If taking a loan from usrious banks it is impermissible; on the other hand, if this took place through Islamic ones then it is permissible to get the loan, since Allah the Most Exalted Said (What means): "And Allah has made buying lawful and forbidden usury (riba)." And Allah Knows Best.