The Book of Repentance
Ṣaḥīḥ Muslim 6964
لَوْ أَنَّكُمْ لَمْ تَكُنْ لَكُمْ ذُنُوبٌ يَغْفِرُهَا اللَّهُ لَكُمْ لَجَاءَ اللَّهُ بِقَوْمٍ لَهُمْ ذُنُوبٌ يَغْفِرُهَا لَهُمْ
law annakum lam takun lakum dhunūbun yaghfiruhā-Llāh lakum lajāʾa-Llāh biqawmin lahum dhunūbun yaghfiruhā lahum
Transliteration generated from the Arabic vowel marks
The full narration
Abu Ayyub Ansari reported that Allah's Messenger (ﷺ) 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
Source
Ṣaḥīḥ Muslim · 6964
Ṣaḥīḥ