What is the ruling on the intention of fasting, where is its place, and when is its time?
The intention is a pillar of acts of worship; it is essential, and worship is not valid without it.
Its place is in the heart, and verbalizing it is recommended so that the tongue reminds the heart. Its meaning is to be determined to abstain from nullifiers of fasting during the upcoming day with the intention of worship and obedience to Allah Almighty. This meaning is naturally present in every Muslim on every night of Ramadan, so there is no need for obsessive doubts. If one says, "I intend to fast tomorrow for the sake of Allah," it removes any doubts.
Its time is from after sunset until before the true dawn.
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]
Is it permissible to pay the Zakah (obligatory charity) for settling the debt of a deceased relative?
It is impermissible to pay the Zakah for settling the debt of the deceased since Zakah is paid to eligible recipients who are alive. As for the debts of the deceased, they are to be settled from the estate before dividing it amongst the heirs, but if the deceased didn`t leave an estate, then it is desirable for his/her heirs to settle those debts if they can afford them. And Allah Knows Best.
What is the ruling on doubting whether one or two prostrations were performed?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a worshiper is in doubt regarding the number of units (rak'ahs) or prostrations (sajdahs) performed, he must build upon the minimum (i.e., assume the lower number) and perform the prostration of forgetfulness (Sujud al-Sahw) before the Salam at the end of the prayer. This is based on the report from ‘Ata’ ibn Yasar that the Messenger of Allah ﷺ said: 'When anyone of you is in doubt about his Salat (prayer) and does not know how many he has prayed, three or four (Rak'at) he should cast aside his doubt and base his prayer on what he is sure of. Then, he should perform two prostrations before Taslim (salutation). If he has prayed five Rak'at, they will make his Salat (prayer) an even number for him and if he has prayed exactly four, they (i.e. two prostrations) will be humiliation for the devil..' (Narrated by Abu Dawud).
It is stated in Al-Muqaddimah al-Hadramiyyah: 'If one doubts [whether he performed] a bowing (ruku’), a prostration, or a rak'ah, he must perform it and prostrate [for forgetfulness], even if the doubt is removed before the Salam—unless the doubt is removed before he performs what would potentially be an addition. Thus, if he doubts whether he prayed three or four, he is obligated to build upon the minimum.' And Allah the Exalted knows best.