Abu Huraira reported: The Prophet, peace and blessings be upon him, said, “If your sins were to reach to the heavens and then you repented, Allah would still accept your repentance.”
Source: Sunan Ibn Mājah 4248
Grade: Sahih (authentic) according to Al-Albani
عَنْ أَبِي هُرَيْرَةَ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ لَوْ أَخْطَأْتُمْ حَتَّى تَبْلُغَ خَطَايَاكُمْ السَّمَاءَ ثُمَّ تُبْتُمْ لَتَابَ عَلَيْكُمْ
4248 سنن ابن ماجه كتاب الزهد باب ذكر التوبة
3445 المحدث الألباني خلاصة حكم المحدث حسن صحيح في صحيح ابن ماجه