Abu Hurairah reported,

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

Azami 11429

Sahih

عن أبي هريرة

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

الأعظمي 11429صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Repentance and seeking forgiveness
Chapter
Comprehensive and general supplications
Section
Allah rejoices over the repentance of His slave
Numbering
Jami al-Kamil 11429 (2nd edition)
Azami 11429