I see horrible dreams although I perform the prescribed prayers, what do you make of that?
All perfect praise be to Allah the Lord of the Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
Be mindful of Allah while awake and he will safeguard you from whatever evil you see while asleep. We advise you to make the pre-sleep supplications. And Allah The Almighty Knows Best.
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.
I made a vow "If the Israeli troops retreated out of Gaza strip I will buy a cake from a certain bakery" and it happened. Am I obliged to buy from the same bakery?
You are obliged to buy from the same bakery. And Allah Knows Best.
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.