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 prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
Is it permissible to listen to chants praising the Prophet if accompanied by musical instruments?
If singing, or chanting in praise of the Prophet was accompanied by a forbidden musical instrument, then it is forbidden.
Is it permissible for a young lady to wear a short skirt, which is above her knee, over pants?
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.
In Islam, it isn`t permissible for a woman to wear garment revealing her beautiful shape and arousing men`s sexual desire. This is whether the garment is transparent or skin-tight showing the size of her private parts. A Muslim woman`s garment must be loose and not revealing since she will be accountable for this before Allah The Almighty on the Day of Judgement. And Allah The Almighty Knows Best.