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.
What is the ruling on a mother giving the Zakat of her wealth to her children?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is permissible for a mother to give her children from the Zakat if they are among those who are eligible for it—such as being poor (Fuqara), possessing no wealth, and not being sufficiently provided for by the maintenance (Nafaqah) of others. This is based on the statement of the Messenger of Allah ﷺ regarding Zaynab, the wife of 'Abdullah ibn Mas'ud (may Allah be pleased with them both): (Your husband and your children are the most deserving of those upon whom you spend in charity) [Narrated by Al-Bukhari].
It is stated in [Al-Hawi al-Kabir, Vol. 8/P.537]: 'As for the wife, it is permissible for her to pay her Zakat to her husband from all the designated shares... Our evidence is the generality of the saying of Allah the Almighty: "Zakat expenditures are only for the poor and for the needy", and the Hadith of Abu Hurairah that the Prophet ﷺ said to Zaynab, the wife of 'Abdullah ibn Mas'ud: (Your husband and your children are the most deserving of those upon whom you spend), and this is taken in its general sense.' And Allah the Exalted knows best.
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]
I broke my oath and am now obligated to pay the expiation for a broken oath (kaffārat al-yamīn). Would it be valid to fulfill this by inviting the poor and needy to a meal for them to eat from?
Praise be to Allah, and peace and blessings upon our master, the Messenger of Allah.
The expiation for a broken oath (kaffārat al-yamīn) is given to the poor (fuqarā') and needy (masākīn), and it must be given in the form of ownership (tamlīk) transferred to them of the required amount — namely, one mudd of the staple food of the locality, or its equivalent monetary value. It isn`t valid to invite the poor or needy to a meal prepared for them to eat from, as this does not constitute "ownership" (tamlīk) but merely "permission to partake" (ibāḥah).
Imam al-Shirbīnī (may Allah have mercy on him) said: "What is intended is that ownership be transferred to them; therefore, providing them with lunch or dinner [as a meal to eat from] isn`t valid." [Summarized from Mughnī al-Muhtāj,Vol. 5/P.50]. And Allah the Almighty knows best.