Allah (swt) command: "O you who believe, Fasting is prescribed for you as it was prescribed for those before you so that you may achieve Taqwa (righteousness, God-fearing)."
Allaah, Subxaanahu Watacaala wuxuu yiri:   " Kuwa xaqa ruyeeyoow waxaa laydinku waajibiyay Soonka sidii loogu waajibiyey kuwii idinka horreeyey si aad u dhawrsataan (aad xumaha ka joogtaan)."