It wasnarrated from Abu Hurairah that the Prophet (ﷺ) said:
"Ifyouwere to commit sin until your sins reach the heaven, then you weretorepent, your repentance would be accepted." (RU)
English reference (RU): Vol. 5, Book 37, Hadith 4248 (RU)
Arabic reference (RU): Book 37, Hadith 4389 (RU)