Abu Hurairah reported,

The Messenger of Allah ﷺ said that Allah عز وجل said, "I am as My servant thinks of Me, and I am with him whenever he remembers Me. By Allah, Allah rejoices more at the repentance of His servant than any of you would at finding his lost camel in the open desert. Whoever draws near to Me by a hand's span, I draw near to him by a forearm's length. Whoever draws near to Me by a forearm's length, I draw near to him by an arm's span. And when he comes to Me walking, I come to him at a swift pace."

Muslim 6952

Sahih

حدثني سويد بن سعيد حدثنا حفص بن ميسرة حدثني زيد بن أسلم عن أبي صالح

عن أبي هريرة

عن رسول الله ﷺ أنه قال قال الله عز وجل أنا عند ظن عبدي بي وأنا معه حيث يذكرني والله لله أفرح بتوبة عبده من أحدكم يجد ضالته بالفلاة ومن تقرب إلي شبرا تقربت إليه ذراعا ومن تقرب إلي ذراعا تقربت إليه باعا وإذا أقبل إلي يمشي أقبلت إليه أهرول

مسلم 6952صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Tawba
Chapter
Urging repentance and rejoicing in it
Numbering
Darussalam 6952
Muslim 6952