I want to buy a house by having a loan from a bank?
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.
What is the ruling o associations (Whereas a person who have money buys a commodity for a person and and gets a profit on it)?
It is permissible for a person to buy a commodity for someone's else and have a profit/loss on it
Is it permissible for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.
What is the ruling on the cessation of blood after (40) days from delivery, but later continued sporadically during two days of Ramadan?
Once postpartum bleeding (Nifas) ceases, and the woman is certain that it won`t reoccur, then she becomes ritually pure and so she is free to make Ghusl (purificatory bath), pray, and fast. If the bleeding reoccurs before fifteen days from its cessation, and before the end of (60) days after delivery, then the ruling on postpartum bleeding is effective, and her fasting and prayer are null and void, thus she must make up the fasting that she missed and not the prayer during those particular days.