Allah subhanhu wa ta'ala says in the Holy Quran,
"As-Saum (the fasting) is prescribed for you
as it was prescribed for those before you,
that you may become Al-Muttaqûn (the pious)." (2:183)
"As-Saum (the fasting) is prescribed for you
as it was prescribed for those before you,
that you may become Al-Muttaqûn (the pious)." (2:183)