Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Allah عز وجل says, 'I am as My servant thinks of Me, and I am with him whenever he remembers Me. If he remembers Me within himself, I remember him within Myself. If he remembers Me in a gathering, I remember him in a better gathering than theirs. If he draws near to Me by a hand's span, I draw near to him by a cubit. If he draws near to Me by a cubit, I draw near to him by an arm's length. If he comes to Me walking, I come to him at speed.'"

Tirmidhi 3603

Sahih

حدثنا أبو كريب حدثنا ابن نمير وأبو معاوية عن الأعمش عن أبي صالح

عن أبي هريرة قال

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

الترمذي 3603صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Supplications
Chapter
Good opinion of Allah عز وجل
Numbering
Darussalam 3603
Tirmidhi 3603