This has been affirmed by the Quran verse when the Almighty Allah addressed people: “O you who believe, fasting is prescribed for you as it was prescribed for those before you, so that you may guard against evil.”
Ilaah wuxuu qur’aankiisa ku yiri: "Dadkii Alle rumeeyayow waxaa la idinku waajibiyay inaad soontaan sidii dadkii idinka horeeyay loogu waajib yeelayba, waxaadna mudan tihiin inaad dhowrsataan" (Suradda Al-baqara 183).