The Book of Repentance
Ṣaḥīḥ Muslim 6965
وَالَّذِي نَفْسِي بِيَدِهِ لَوْ لَمْ تُذْنِبُوا لَذَهَبَ اللَّهُ بِكُمْ وَلَجَاءَ بِقَوْمٍ يُذْنِبُونَ فَيَسْتَغْفِرُونَ اللَّهَ فَيَغْفِرُ لَهُمْ
wa-adh-dhī nafsī biyadihi law lam tudhnibūā ladhahaba-Llāh bikum walajāʾa biqawmin yudhnibūna fayastaghfirūna-Llāh fayaghfiru lahum
Transliteration generated from the Arabic vowel marks
The full narration
Abu Huraira reported Allah's Messenger (ﷺ) having said:By Him in Whose Hand is my life, if you were not to commit sin, Allah would sweep you out of existence and He would replace (you by) those people who would commit sin and seek forgiveness from Allah, and He would have pardoned them
Source
Ṣaḥīḥ Muslim · 6965
Ṣaḥīḥ