Fasting Requires More Than Abstaining from Food
Narrated Abu Huraira:
The Prophet said, “Whoever does not give up forged speech and evil actions, Allah is not in need of his leaving his food and drink (i.e. Allah will not accept his fasting.)”
Translation of Sahih Bukhari, Volume 3, Book 31, Number 127

