What is the ruling of Islamic Law on eating or drinking forgetfully while observing the kaffarah fasting?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If someone eats or drinks out of forgetfulness while fasting, it is simply that Allah has fed them and given them drink. Their fast is not broken by this; rather, they should continue fasting. This ruling applies whether the fast is an obligatory one (like Ramadan), a make-up fast (Qada), an expiation (Kaffarah), or a voluntary (Nafal) fast. And Allah the Exalted knows best.
What is the ruling on eating and drinking at night after making the intention? Is it necessary to renew the intention?
Eating and drinking at night, even after making the intention (for the next day), does not affect the fast, and it is not necessary to renew the intention after eating and drinking.
Should a prayer performer who forgets to offer the middle Tashahod (saying ash-hadu anala ilaha ila-alah) offer Sujood As-Sahw (prostration of forgetfulness)?
He/she should offer two prostrations of forgetfulness at the end of the prayer. And Allah 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]