What are the pillars of fasting?
The pillars of fasting are intention and abstaining from all nullifiers of fasting from dawn to sunset.
What should a person do if they suffer from an incurable illness that prevents them from fasting?
A person who has an illness that is not expected to be cured and prevents them from fasting must feed a needy person one mudd (600 grams) of food (such as wheat or rice) for each missed day instead of fasting.
Allah Almighty says {what means}: "and [in such cases] it is incumbent upon those who can afford it to make sacrifice by feeding a needy person." [Al-Baqarah/184].
Does undergoing an endoscopy during the day in Ramadan affect the validity of fasting?
Undergoing an endoscopic procedure during the day in Ramadan—whether through the mouth, nose, front private part, or back private part—invalidates the fast.
Whoever undergoes such a procedure must refrain from eating and drinking for the rest of the day out of respect for the sacred month and make up for that day after Ramadan.
Must a person refrain from eating for the rest of the day if they break a fast of a vow (nadhr) or a make up fast (qada)?
Whoever observes a vowed fast (nadhr) or a makeup fast (qada) is prohibited from breaking it without a valid excuse. If they break it without a legitimate reason, they are sinful.
However, they are not required to refrain from eating for the rest of the day, because such restraint is only required out of respect for the month of Ramadan, not for other types of fasting.