Riyad as-SalihinChapter 8Hadith 508
Full Sharh — Riyad as-Salihin 508
عن أبي هريرة رضي الله عنه، أن رسول الله صلى الله عليه وسلم قال: "من قام رمضان إيمانًا واحتسابًا غفر له ما تقدم من ذنبه". ((متفق عليه)) .
English Translation
Abu Hurairah (May Allah be pleased with him) reported:: The Messenger of Allah (ﷺ) said, "He who observes optional prayer (Tarawih prayers) throughout Ramadan, out of sincerity of Faith and in the hope of earning reward will have his past sins pardoned.".
Source
Riyad as-Salihin(رياض الصالحين)
The Book of Virtues
Hadith Number
508