صحيح مسلم Sahih Muslim كتاب التوبة The Book of Repentance
باب سُقُوطِ الذُّنُوبِ بِالاِسْتِغْفَارِ تَوْبَةً:

Chapter: Sins Are Erased By Praying For Forgiveness And Repenting

3 hadith
Hadith 2748
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ ، حَدَّثَنَا لَيْثٌ ، عَنْ مُحَمَّدِ بْنِ قَيْسٍ قَاصِّ عُمَرَ بْنِ عَبْدِ الْعَزِيزِ ، عَنْ أَبِي صِرْمَةَ ، عَنْ أَبِي أَيُّوبَ ، أَنَّهُ قَالَ : حِينَ حَضَرَتْهُ الْوَفَاةُ كُنْتُ كَتَمْتُ عَنْكُمْ شَيْئًا سَمِعْتُهُ مِنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، يَقُولُ : " لَوْلَا أَنَّكُمْ تُذْنِبُونَ لَخَلَقَ اللَّهُ خَلْقًا يُذْنِبُونَ يَغْفِرُ لَهُمْ " .
Abu Sirma reported that when the time of the death of Abu Ayyub Ansari drew near, he said: I used to conceal from you a thing which I heard from Allah's Messenger (ﷺ) and I heard Allah's Messenger (ﷺ) as saying: Had you not committed sins, Allah would have brought into existence a creation that would have committed sin (and Allah) would have forgiven them.
Hadith Reference Sahih Muslim / The Book of Repentance / Hadith: 2748
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة»
Hadith 2748
حَدَّثَنَا هَارُونُ بْنُ سَعِيدٍ الْأَيْلِيُّ ، حَدَّثَنَا ابْنُ وَهْبٍ ، حَدَّثَنِي عِيَاضٌ وَهُوَ ابْنُ عَبْدِ اللَّهِ الْفِهْرِيُّ ، حَدَّثَنِي إِبْرَاهِيمُ بْنُ عُبَيْدِ بْنِ رِفَاعَةَ ، عَنْ مُحَمَّدِ بْنِ كَعْبٍ الْقُرَظِيِّ ، عَنْ أَبِي صِرْمَةَ ، عَنْ أَبِي أَيُّوبَ الْأَنْصَارِيِّ ، عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، أَنَّهُ قَالَ : " لَوْ أَنَّكُمْ لَمْ تَكُنْ لَكُمْ ذُنُوبٌ يَغْفِرُهَا اللَّهُ لَكُمْ لَجَاءَ اللَّهُ بِقَوْمٍ لَهُمْ ذُنُوبٌ يَغْفِرُهَا لَهُمْ " .
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.
Hadith Reference Sahih Muslim / The Book of Repentance / Hadith: 2748
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة»
Hadith 2749
حَدَّثَنِي مُحَمَّدُ بْنُ رَافِعٍ ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ ، أَخْبَرَنَا مَعْمَرٌ ، عَنْ جَعْفَرٍ الْجَزَرِيِّ ، عَنْ يَزِيدَ بْنِ الْأَصَمِّ ، عَنْ أَبِي هُرَيْرَةَ ، قَالَ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " وَالَّذِي نَفْسِي بِيَدِهِ لَوْ لَمْ تُذْنِبُوا لَذَهَبَ اللَّهُ بِكُمْ ، وَلَجَاءَ بِقَوْمٍ يُذْنِبُونَ فَيَسْتَغْفِرُونَ اللَّهَ فَيَغْفِرُ لَهُمْ " .
Abu Hurairah (RA) 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.
Hadith Reference Sahih Muslim / The Book of Repentance / Hadith: 2749
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة»