What is the ruling on preparing food for someone who is not fasting in Ramadan?
It is forbidden to prepare food for someone who is breaking their fast without a valid excuse in Ramadan.
Doing so would be assisting in sin, and assisting in sin is itself a sin.
Allah says {what means}: "but help ye not one another in sin and rancour" [Al-Mai`dah/2]
What is the ruling on someone who dies while having missed fasts?
● If a person dies before having the opportunity to make up the missed fasts—such as someone whose excuse (e.g., illness) persisted until their death—then no makeup fast (qada), fidyah, or sin applies to them.
● However, if they had the ability to make up the fasts but did not do so before passing away, the missed fasts must be compensated by giving a mudd of food for each missed day from their estate.
The Prophet ﷺ said: "Whoever dies while having a month’s fast due, one needy person should be fed per day on their behalf." [Narrated by At-Tirmidhi]
Additionally, a guardian (wali) may fast on their behalf, as the Prophet ﷺ said: "Whoever dies while having missed fasts, their guardian should fast on their behalf." [Narrated by Al-Bukhari and Muslim]
In another narration: "If they wish." This indicates that both feeding the needy and fasting on behalf of the deceased are permissible options.
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.
Does Laylat al-Qadr move between the nights of Ramadan?
Laylat al-Qadr is definitely in Ramadan, and it is most likely in the last ten nights, especially on the odd-numbered nights.
For this reason, the Prophet ﷺ commanded observing worship in the last ten nights, and he himself used to dedicate those nights to worship. Many people put special effort into the 27th night of Ramadan, and they are rewarded in any case, whether they actually coincide with Laylat al-Qadr or not, because worshiping on any night of Ramadan carries great rewards.