Almighty Allah reminds us in the Qur’an:
“O you who believe! Fasting is prescribed for you as it was prescribed for those before you, that you may have Taqwa (that you may learn self-restraint; how to attain piety and righteousness).” (Qur’an 2:183)