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 it permissible for a person who broke fasting in Ramadan because of being sick to pay a ransom?
If there is hope for him/her to be cured, then he would be required to make up for the missed fasting days when he/she recovers, and no ransom is due on him/her. If his/her disease is incurable, then he/she would be required to pay a ransom for each missed fasting day, which is (600) grams of wheat, or rice. And Allah Knows Best.
Is it permissible for a person, who vowed to offer two Rak`ahs (units of prayer) everyday for Allah`s sake, to do so after the Fajr (dawn) prayer?
In principle, a vow should be fulfilled as it was originally intended, and if its time lapses then, it should be fulfilled at any time because of the vow. Therefore, it is permissible to offer them after the Fajr prayer, and there is no prohibition in doing so. However, it is preferable for him to offer these two Rak`ahs at some other time to avoid the disagreement amongst the scholars in this regard.
Is it a condition that a woman should untie her locks while making Ghusl (ritual bath)?
Ghusl from Janabah (ritual impurity), or menstruation obligates that water reaches the roots of the hair in order for the Ghusl to be valid, but if it doesn`t, then hair locks must be untied for water to reach them, and for Ghusl to become valid.