The fast is valid if the person had the intention to fast before Fajr prayer, even if he/she did not perform ghusl, commented the Central Authority of Islamic Affairs and Endowments (AWFAQ). ... But when it comes to children, introducing the concept of fasting is recommended from a certain age.