Abu Ayyub reported: The Messenger of Allah, peace and blessings be upon him, said, “If you were not to sin, Allah would surely create people who would sin and He would forgive them.”
Source: Ṣaḥīḥ Muslim 2748
Grade: Sahih (authentic) according to Muslim
عَنْ أَبِي أَيُّوبَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ لَوْلَا أَنَّكُمْ تُذْنِبُونَ لَخَلَقَ اللَّهُ خَلْقًا يُذْنِبُونَ يَغْفِرُ لَهُمْ
2748 صحيح مسلم كتاب التوبة باب سقوط الذنوب بالاستغفار توبة