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 on praying behind an undesirable Imam?
It is permissible to pray behind an Imam who is undesirable for committing religious violations, and it is disliked for such an Imam to lead the prayer. Still, If he was undesirable for a personal, or a worldly matter, then such argument doesn’t hold water. And Allah Knows Best.
What is the difference between Tahajjud prayer and night prayer, and do they have a particular Witr prayer other than that of Isha (evening prayer)?
Tahajjud and Qiyam-Al-Lail (night prayer) are two words for the same meaning which is offering voluntary prayer at night after sunset, but before dawn break. However, Tahajjud is offered after waking up; whereas, Qiyam-Al-Lail is permissible before sleeping, or after it. Therefore, every Tahajjud is a Qiyam, but not every Qiyam is a Tahajjud. Moreover, there is no specified Witr for both of them, but Witr after Isha is by itself the Witr of Qiyam, and it is a Sunnah to postpone it until after Qiyam if the worshiper thought that he was most probably going to wake up in order to offer it, but if he wasn`t sure of waking up, then he is at liberty to offer it before going to bed as was reported in the Prophet`s Hadith.
Is it permissible to pay the Fitr Zakah (obligatory charity) of Ramadan on behalf of a dead person?
The Fitr Zakah of Ramadhaan isn`t due on one who had passed away before the sunset of the last day of Ramadan. And Allah Knows Best.