Hadith 11

Sahih Bukhari

Book 30: Fasting

Chapter 6

Whoever observed fast in Ramadan out of sincere Faith with honest intention

باب مَنْ صَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا وَنِيَّةً

And ‘Aishah رضي الله عنها narrated from the Prophet ﷺ, “The people will be resurrected (and judged) according to their intentions.”
وَقَالَتْ عَائِشَةُ رَضِيَ اللَّهُ عَنْهَا عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «يُبْعَثُونَ عَلَى نِيَّاتِهِمْ».
Sahih al-Bukhari 1901
حَدَّثَنَا مُسْلِمُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا هِشَامٌ، حَدَّثَنَا يَحْيَى، عَنْ أَبِي سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ ‏‏.‏
"‏ مَنْ قَامَ لَيْلَةَ الْقَدْرِ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ، وَمَنْ صَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ ‏"
Abu Huraira:

The Prophet (ﷺ) said, "Whoever established prayers on the night of Qadr out of sincere faith and hoping for a reward from Allah, then all his previous sins will be forgiven; and whoever fasts in the month of Ramadan out of sincere faith, and hoping for a reward from Allah, then all his previous sins will be forgiven."