The Messenger of Allah ﷺ said that Allah says, "Whoever comes with a good deed will have ten times its like, and I will add more. Whoever comes with a bad deed, its recompense is one like it, or I forgive. Whoever draws near to Me by a hand's span, I draw near to him by an arm's length. Whoever draws near to Me by an arm's length, I draw near to him by a fathom. Whoever comes to Me walking, I come to him at a quick pace. And whoever meets Me with an earth's worth of sins, without associating anything with Me, I will meet him with the like of it in forgiveness."
حدثنا علي بن محمد حدثنا وكيع عن الأعمش عن المعرور بن سويد
قال رسول الله ﷺ يقول الله تبارك وتعالى من جاء بالحسنة فله عشر أمثالها وأزيد ومن جاء بالسيئة فجزاء سيئة مثلها أو أغفر ومن تقرب مني شبرا تقربت منه ذراعا ومن تقرب مني ذراعا تقربت منه باعا ومن أتاني يمشي أتيته هرولة ومن لقيني بقراب الأرض خطيئة ثم لا يشرك بي شيئا لقيته بمثلها مغفرة
Muslim narrated it in the Book of Remembrance and Supplication, the chapter on the excellence of remembrance and supplication and drawing near to Allah Most High and thinking well of Him, hadith no. 22/2687, from the hadith of Waki, through this same chain.