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.
My father placed shares worth twenty dinars in one of the banks, and their value doubled to become five thousand dinars. When my father passed away, one of the scholars told us that it is permissible for us to take the money. What is the ruling on this money, considering that it comes from a bank and involves interest (Riba)?
Allah The Almighty Said (What means): "And if you repent, then for you is the principal of your wealth. You do not wrong, nor are you wronged." [Al-Baqarah/279]. This is the precautionary ruling regarding what you are asking about. You are entitled to the principal amount, and you should give the excess as charity to the poor and needy. If you are poor, you may take from it. And Allah The Almighty Knows Best.
What is the ruling on obtaining a house through the King Abdullah II project (Decent Housing for a Decent Living), knowing that we do not own a house, our financial situation is moderate, our current rental costs are high, and we are eight people living in the household?
If owning the apartment/house is done through the same institution/project then it is permissible, but if this took place through usurious banks then it is impermissible, since dealing with usurious transactions is unlawful. And Allah Knows Best.
Is permissible to include a will requesting that a Holy Qur'an buried along with me?
It is not permissible to include a will requesting that a Quran be buried with the deceased in their grave. This is because the body of the deceased typically decomposes and may release impure substances, and it is not allowed to expose the Quran to impurity. Intentionally desecrating the Quran is an act of disbelief. Instead, read the Quran during your lifetime, as it will benefit you after death. And Allah Knows Best.