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 to repeat the Istikhara (seeking guidance) prayer, and is it a condition that one should sleep after offering it?
All perfect praise be to Allah,The Lord of The Worlds Istikhara is offered once, but it is permissible to repeat it, and sleeping after offering it is not a condition for its validity. And Allah Knows Best.
Is it permissible to fast on behalf of the dead who died owing missed fast to make up?
His relative should fast on his behalf, and it is permissible for the guardians to give permission to non-relatives of the dead to fast on his behalf as well. And Allah Knows Best.
How should a person who is afflicted with continued major ritual impurity (incontinence of urine, bleeding outside the monthly period) perform ablution?
Such a person should make ablution for every prayer after its due time and after removing impurities from their body and outfit, and should place a fresh diaper whenever needed so as for the impurity not to spread out. They should also perform prayer immediately even if incontinence of urine continued, and should repeat the aforementioned for every obligatory prayer, then perform optional prayer as much as they want.