Fasting Ramadan with faith

Fasting Ramadan with faith and hope of reward forgives past sins.

Narrated by Abu Hurairah

Whoever fasts Ramadan out of faith and hoping for reward, his past sins will be forgiven.

Sahih al-Bukhari 38, Sahih Muslim 760

What this hadith teaches

"Faith and hoping for reward" means fasting because Allah commanded it and expecting reward only from Him.

Reference and grade

Grade
Sahih: agreed upon by al-Bukhari and Muslim
Narrator
Abu Hurairah

The hadith in Arabic نص الحديث

مَنْ صَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ

Arabic text of Sahih al-Bukhari 38, as given on sunnah.com.