All perfect praise be to Allaah, the Lord of the worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His Slave and Messenger.
We supplicate Allaah The Almighty to reward and grant you guidance for not having made an interest-based loan. Also, we invoke Allaah The Almighty to make things easy for you and provide you with sustenance from where you do not expect.
The deal which is mentioned in the first question is permissible if it is carried out as we understood it. You will be a partner with this institution according to the percentage of the price of the house that you will participate in, which is one quarter (25 percent). Then the institution will rent its share of the house to you. Thus you will possess one quarter of the house and rent three quarters of it. This is permissible as long as it is not a rent-to-own contract, wherein what you are paying to the institution will be installments of the price of the house, and thus your share will steadily increase and the institution’s share will decrease until you completely own the house.
As regards the other question, you are not allowed to ask your friend for a loan because such a loan will bring him benefit, and this is indisputably impermissible according to scholars. This deal is a form of Riba and the Muslim is not allowed to enter a contract that includes anything thereof.
Allaah knows best.