Sunnah.com : Book 20, Hadith 10
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وعن أنس رضي الله عنه قال: سمعت رسول الله صلى الله عليه وسلم يقول: “قال الله تعالى: يا ابن آدم إنك ما دعوتني ورجوتني غفرت لك ما كان منك ولا أبالي، يا ابن آدم لو بلغت ذنوبك عنان السماء، ثم استغفرتني ، غفرت لك ولا أبالي، يا ابن آدم إنك لو أتيتني بقراب الأرض خطايا، ثم لقيتني لا تشرك بي شيئاً، لأتيتك بقرابها مغفرة . (2)"
Anas (May Allah be pleased with him) said:
I heard the Messenger of Allah (ﷺ) saying, "Allah, the Exalted, has said: 'O son of Adam! I shall go on forgiving you so long as you pray to Me and aspire for My forgiveness whatever may be your sins. O son of Adam! I do not care even if your sins should pile up to the sky and should you beg pardon of Me, I would forgive you. O son of Adam! If you come to Me with an earthful of sins and meet Me, not associating anything with Me in worship, I will certainly grant you as much pardon as will fill the earth."' [At-Tirmidhi].
Full reference and source
Sunnah.com : Book 20, Hadith 10 Arabic/English book : Book 20, Hadith 1878
View source on Sunnah.com (opens in a new tab)