In the Holy Qur’an fasting has been prescribed from dawn to sunset in the lunar month of Ramadhan. It is a discipline which promotes righteousness and makes it easier for a seeker to scale spiritual heights. One who is fasting becomes aware of all Divine bounties, and fasting thus helps one to employ them beneficiently.
2:184. O ye who believe ! fasting is prescribed for you, as it was prescribed for those before you, so that you may guard against evil.
2:185. The prescribed fasting is for a fixed number of days, but whoso among you is sick or on a journey, shall fast the same number of other days; and for those who are able to fast only with great difficulty, is an expiation – the feeding of a poor man. And whoso does good of his own accord it is better for him. And fasting is good for you, if you only knew.