Sahih Muslim · Hadith 7140
The Book Pertaining to Repentance and Exhortation to Repentance - كتاب التوبة
حدثنا هارون بن سعيد الأيلي، حدثنا ابن وهب، حدثني عياض، - وهو ابن عبد الله الفهري - حدثني إبراهيم بن عبيد بن رفاعة، عن محمد بن كعب القرظي، عن أبي صرمة، عن أبي أيوب الأنصاري، عن رسول الله صلى الله عليه وسلم أنه قال " لو أنكم لم تكن لكم ذنوب يغفرها الله لكم لجاء الله بقوم لهم ذنوب يغفرها لهم " .
Abu Ayyub Ansari reported that Allah's Messenger (may peace be upon him) said: If you were not to commit sins, Allah would have swept you out of existence and would have replaced you by another people who have committed sin, and then asked forgiveness from Allah, and He would have granted them pardon.
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).