The purpose of fasting is to develop the quality of righteousness (taqwa) by abstaining from sinful deeds and training ourselves to control our desires.
Allah said: “O you who believe, fasting is prescribed for you as it was prescribed for those before you that you may become righteous. (Qur’an, 2:183)
The word, ‘taqwa’ comes from the root meaning, ‘to guard’ and it is variously translated as mindfulness, righteousness, and God-fearing piety. Fasting is meant to instill this virtuous quality within us. In this way, fasting acts as a shield, which protects us from sin and ultimately from the punishment of Allah in the Hereafter.
Uthman ibn Abu Al-Aas reported: “The Messenger of Allah (peace and blessings be upon him) said: ‘Fasting is a shield from the Hellfire just like the shield of any of you in battle’.” (Sunan Ibn Majah, 1639)
Abu Huraira (may Allah be pleased with him) reported: “The Messenger of Allah (peace and blessings be upon him) said: ‘When one of you awakes in the morning for fasting, then he should not use obscene language or behave ignorantly. If anyone slanders him or tries to argue with him, he should say: Indeed, I am fasting! Indeed, I am fasting’!” (Sahih Muslim)
If a Muslims fails to protect himself from sins and unbeneficial speech while fasting, then his fasting has not achieved its purpose. Allah certainly does not need any one of us to fast, so a Muslim who sins while fasting has nullified the virtue of his fasting.
In addition to abstaining from sin, a Muslim must use the exercise of fasting as a means to develop control of desires. If a Muslim can develop enough will power to abstain from eating and drinking during the day, then this will power will become strong enough to refuse sinful temptations at other times.
Ibn Mas’ud reported: “The Messenger of Allah (peace and blessings be upon him) said: ‘O young men, if you are able to support a wife, then get married. Verily, it restrains the eyes and protects the private parts, but whoever is not able to do so then he has the duty to fast because indeed it is a means of control’.” (Sahih Muslim, 1400)
