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 of Sharia on looking at one`s Mahram women?
All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, sallallahu ‘alayhi wa sallam, is His slave and Messenger.
A Mahram man (man impermissible for a woman to marry) is permitted to look at what usually appears from his Mahram women (women impermissible for a man to marry) while doing their daily housework, with the exception of their private parts. And Allah The Almighty Knows Best.
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.
Does the clipping of nails nullify ablution?
No, it does not, and it is preferable to wash the hands afterwards.