Someone asked me to pay off his debt on his behalf as a loan, without any compensation. When I went to the creditor, he told me that if I paid the full amount at once, rather than in installments, he would give me a certain discount. Is this permissible? And if he applies the discount, to whom does the deducted amount belong?
If part of the debt is paid and the creditor forgives the remaining amount, the waiver is valid, and the remaining debt is no longer the responsibility of the original debtor. The person who paid the debt on behalf of another has no right to claim any portion of the original debt. And Allah Knows Best.
Is prayer mandatory on a dying person who goes through a state of unconsciousness, then wakes up?
If he wakes up and was conscious, then he should pray the way/manner he could, but if he wasn't, then he is exempted from obligatory prayer as Allah Says in this regard (What means): "On no soul doth God Place a burden greater than it can bear." [Al-Baqarah/286].
Is it permissible for someone to make a supplication to Allah to marry an already married, or an engaged woman?
No, it isn`t, and the person who does so is sinful before Allah, The Almighty.
Does fasting on behalf of a deceased person permissible?
Fasting on belhaf of a deceased person is permissible, since the Prophet (PBUH) said: "Whoever dies while he still has some fasts to make up (of the days of Ramadan), then his heir (any of them) should fast on his behalf." [Agreed upon]. The previous answer is for making up missed obligatory fasts on behalf of the deceased. But if the fasting on behlaf of the deceased was for performing a voluntary acts of devotion such as fasting....is permissible as adopted by the majority of Muslim scholars and based on the above hadith as they stated "Every good dead intended to be on behalf of the deceased its reward will reach the latter." And Allah Knows Best.