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.
What is the ruling on using a miswak (tooth-stick) during the day in Ramadan?
It is permissible to use a miswak before noon while fasting. However, according to the Shafi'i school, it is disliked (makruh) after noon in order to preserve the natural effect of fasting in the mouth, as the Prophetﷺ said in authentic hadith:
"The breath of a fasting person is more pleasant to Allah than the fragrance of musk."
Which is better for a traveler: fasting or breaking the fast?
Fasting is better, unless it causes hardship—in that case, breaking the fast is better.
I made the intention to fast a make-up fast (qada') during the night. After waking for the Fajr prayer, I formed the intention to discontinue the fast because I had not eaten the pre-dawn meal (suhur). An hour later, I formed the intention to complete the fast. Is my fast valid?
All praise is due to Allah, and may peace and blessings be upon our master, the Messenger of Allah.
The intention of one who is resolved to fast is valid if it is made during the night, that is, before dawn. The fast is not invalidated merely by forming the intention to break it, or to discontinue it after dawn, so long as the person has not consumed anything that breaks the fast.
It is stated in al-Minhaj al-Qawim Sharh al-Muqaddimah al-Hadramiyyah (p. 123): "Ablution, fasting, retreat in the mosque (i'tikaf), and Hajj are not invalidated by the intention to discontinue them."
Accordingly, your fast is valid and counts in place of the make-up fast. And Allah the Almighty knows best.