(8) The Book of Virtues
كتاب الفضائل
(217) Chapter: The Excellence of Observing Saum (Fasts) during Ramadan
(217) - باب وجوب صوم رمضان وبيان فضل الصيام وما يتعلق به‏:‏
Riyad as-Salihin 1219 
Abu Hurairah (May Allah be pleased with him) reported:
The Prophet (ﷺ) said, "He who observes fasting during the month of Ramadan with Faith while seeking its reward from Allah, will have his past sins forgiven."

[Al-Bukhari and Muslim].

وعن أبي هريرة رضي الله عنه عن النبي صلى الله عليه وسلم قال‏:‏ من صام رمضان إيمانًا واحتسابًا، غفر له ما تقدم من ذنبه ‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏
Reference : Riyad as-Salihin 1219
In-book reference : Book 8, Hadith 229