Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Each prescribed prayer is an expiation for whatever sins occur between it and the next prayer."He said, "And from one Friday prayer to the next, and from one month to the next, meaning from one Ramadan to the next, is an expiation for whatever sins occur between them."He said, then afterwards he said, "Except from three things."He said, so I realized that this matter had been added later, "Except from associating partners with Allah, breaking the pledge of allegiance, and abandoning the Sunnah."He said, "As for breaking the pledge, it is that you pledge allegiance to a man and then turn against him, fighting him with your sword. And as for abandoning the Sunnah, it is departing from the united community."

Ahmad 7129

Sahih

حدثنا هشيم أخبرنا العوام بن حوشب عن عبد الله بن السائب

عن أبي هريرة قال

قال رسول الله ﷺ الصلاة المكتوبة إلى الصلاة التي بعدها كفارة لما بينهما قال والجمعة إلى الجمعة والشهر إلى الشهر يعني رمضان إلى رمضان كفارة لما بينهما قال ثم قال بعد ذلك إلا من ثلاث قال فعرفت أن ذلك الأمر حدث إلا من الإشراك بالله ونكث الصفقة وترك السنة قال أما نكث الصفقة أن تبايع رجلا ثم تخالف إليه تقاتله بسيفك وأما ترك السنة فالخروج من الجماعة

أحمد 7129صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 7129
Ahmad 7129