What is the ruling on someone who eats or drinks while uncertain about the arrival of dawn, then later finds out that dawn had not yet broken?
If a person does this, their fast remains valid, as it is confirmed that they ate during the night. Similarly, if someone eats while uncertain and remains unsure whether they ate before or after dawn, their fast is still valid. This is based on the maxim of Sharia Law, which states: "Certainty is not removed by doubt." Certainty, here, is the presence of night, and the doubt concerns the arrival of dawn. Therefore, one relies on certainty and disregards doubt.
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.
What are the pillars of fasting?
The pillars of fasting are intention and abstaining from all nullifiers of fasting from dawn to sunset.
What is I‘tikaf, and how is it performed?
I‘tikaf is staying in the mosque with the intention of I‘tikaf. It is fulfilled by remaining in the mosque for a period that qualifies as devotion or seclusion (I‘tikaf). It is recommended (Sunnah) for anyone entering the mosque to intend I‘tikaf as long as they remain inside.