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.
Is the patient who is on dialysis twice a week obliged to observe fasting? Is his fasting on the days he is on dialysis considered valid or not?
Praise be to Allah the Lord of the Worlds.
Dialysis invalidates fasting because of the nutritional fluid used in that procedure, as pointed by specialized doctors, in addition to causing bodies to enter the stomach. Therefore, it is recommended that the patient who had undergone dialysis to observe fasting for the rest of that day, if he is able to, and make up for it after Ramadan. However, if the doctor told him that fasting, at any time, would damage his health, then he must break his fast and pay a ransom against every missed day. We pray that Allah blesses this person with recovery. 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.