(2) باب سُقُوطِ الذُّنُوبِ بِالاِسْتِغْفَارِ تَوْبَةً
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.
Reference: Sahih Muslim 2749
In-book reference: Book 50, Hadith 13
USC-MSA web (English) reference(deprecated numbering scheme): Book 37, Hadith 6622