The Prophet (ﷺ) said, "Whoever established prayers on the night of Qadr out of sincere…

Sahih al-Bukhari Book 30 Hadith 11

Sahih al-Bukhari #1901

Fasting 30:11

Narrated 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."

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

Grade: Sahih