Chapter: The five daily prayers, from one Jumu`ah to the next, and from one Ramadan to the next, are an expiation for whatever (sins) come in between, so long as one avoids major sins
Abu Huraira reported: Verily the Messenger of Allah ( صلی اللہ علیہ وسلم ) said: The five (daily) prayers and from one Friday prayer to the (next) Friday prayer, and from Ramadhan to Ramadhan are expiations for the (sins) committed in between (their intervals) provided one shuns the major sins.
Authentic