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: Hasan (fair) according to Al-Albani
عَنْ أَبِي هُرَيْرَةَ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ لَوْ أَخْطَأْتُمْ حَتَّى تَبْلُغَ خَطَايَاكُمْ السَّمَاءَ ثُمَّ تُبْتُمْ لَتَابَ عَلَيْكُمْ
4248 سنن ابن ماجه كتاب الزهد باب ذكر التوبة
903 المحدث الألباني خلاصة حكم المحدث إسناده حسن في السلسلة الصحيحة