Sahih Muslim | Book 37 | Hadith Number 6621

Narrated by Abu Ayyub Ansari
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.