What is the ruling on fasting?
Fasting in Ramadan is an individual obligation (Fard ‘Ayn) upon every mature, sane Muslim who is capable of fasting.
Fasting can also be recommended (Mustahabb), such as voluntary fasting on Mondays and Thursdays, fasting on the Day of Arafah for those not performing Hajj, and fasting on Ashura.
Fasting can be prohibited (Haram), such as fasting on the two Eid days, the Day of Doubt (Yawm al-Shakk), and the Days of Tashreeq.
Some types of fasting are disliked (Makruh), such as singling out Friday or Saturday for fasting without a specific reason and fasting on the Day of Arafah for a pilgrim.
When is a child instructed to fast?
A child is instructed to fast at the age of seven if they are capable of fasting and have reached the age of discernment, by analogy to prayer. They should be encouraged but not forced, so they can become accustomed to it. It is obligatory for their guardian, whether a father or another, to instruct them.
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.
What is the ruling on someone who eats or drinks thinking that the night is still present, then realizes that dawn has broken?
Whoever eats or drinks thinking that the night is still present, then later discovers that dawn has broken, must refrain from eating and drinking for the rest of the day out of respect for the sacred month. However, they must make up that day after Ramadan, and there is no sin upon them.