He narrated from the Messenger of Allah ﷺ who said, "Allah says, 'My servant, as long as you worship Me and place your hope in Me, I will forgive you whatever sins you have. My servant, if you meet Me with sins nearly filling the earth, so long as you have not associated anything with Me, I will meet you with forgiveness nearly filling it.'"
حدثنا هاشم بن القاسم حدثنا عبد الحميد حدثنا شهر حدثني ابن غنم أن
حدثه عن رسول الله ﷺ قال إن الله عز وجل يقول يا عبدي ما عبدتني ورجوتني فإني غافر لك على ما كان فيك ويا عبدي إن لقيتني بقراب الأرض خطيئة ما لم تشرك بي لقيتك بقرابها مغفرة
Its isnad is hasan because of Shahr bin Hawshab. As for Ibn Ghanm, he is Abdul-Rahman, and he is one of the senior, trustworthy, and excellent Followers, though it is said that he had companionship with the Prophet. The hadith has already appeared at 21208.