What is the ruling on waiving a debt owed by a debtor and counting it toward zakāh?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Waiving a debt owed by a debtor, with the intention of counting it toward zakāh, does not fulfill the zakāh obligation. Rather, it constitutes an ordinary act of charity, for which Allah rewards the giver generously — since one of the conditions for the validity of zakāh is that the person paying it must form the intention of zakāh at the actual moment the wealth is paid out. In this case, the debt has already been established as a standing obligation upon the borrower, so it is not valid to simply redirect the intention toward zakāh after the fact.
It is preferable, instead, for the creditor to first collect the debt from the debtor, and then return to him the amount of money he is required to pay as zakāh — or a portion of it — if the debtor happens to fall under one of the eight categories that Allah, the Exalted, has commanded be given from zakāh.
It is stated in ‘Umdat as-Sālik, from the books of the Shāfi‘ī school: "If someone gives [money] to a poor person, stipulating that the recipient return it to him in payment of a debt owed to him, or says, 'I am making what you owe me into zakāh, so take it [as such]' — this is not valid. But if he gives it to him with the [unstated] intention that the recipient will use it to repay him, or says, 'Repay what you owe me, so that I may [then separately] give it to you as zakāh,' or the debtor himself says, 'Give it to me, so that I may [then] repay you with it' — this is valid, and there is no binding obligation for the recipient to actually fulfill this [informal understanding]." And Allah, the Exalted, knows best.
What is the ruling on someone who eats or drinks thinking that the sun has set, then realizes that it has not yet set?
Whoever eats or drinks believing that the sun has set, then later discovers that it has not yet set, their fast is invalid, and they must make up that day after Ramadan. It is not permissible to break the fast before confirming sunset—either by seeing it, through personal reasoning, or by relying on the statement of someone trustworthy in their religious commitment.
Is it obligatory to have an intention (niyyah) for every prayer?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is obligatory for the worshiper to have a specific intention (Niyyah) for every prayer, meaning they must consciously intend the act of worship they are performing. The intention is a pillar (Rukn) of the prayer, and the prayer is not valid without it. It is not a requirement to utter the intention verbally; rather, doing so is considered a recommended Sunnah. And Allah the Exalted knows best.
How is night prayer offered?
Night prayer is offering voluntary prayer after Maghrib and before Fajr (Dawn). As for Tahajjud, it is offering voluntary prayer at night after waking up voluntarily, and for Allah`s sake as He Says (What means): "And pray in the small watches of the morning: (it would be) an additional prayer (or spiritual profit) for thee: soon will thy Lord raise thee to a Station of Praise and Glory!" [Al-Isra`/79]. Offering Tahajjud is better than offering voluntary prayer before going to bed.