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.'"
حدثنا أبو كريب حدثنا ابن نمير وأبو معاوية عن الأعمش عن أبي صالح
قال رسول الله ﷺ يقول الله عز وجل أنا عند ظن عبدي بي وأنا معه حين يذكرني فإن ذكرني في نفسه ذكرته في نفسي وإن ذكرني في ملإ ذكرته في ملإ خير منهم وإن اقترب إلي شبرا اقتربت منه ذراعا وإن اقترب إلي ذراعا اقتربت إليه باعا وإن أتاني يمشي أتيته هرولة
Agreed upon [by Bukhari and Muslim]. Muslim narrated it in the Book of Remembrance and Supplication, chapter on encouragement to remember Allah Almighty, hadith no. 2675, from Abu Kurayb, from Abu Muawiya. Bukhari narrated it, hadith no. 7405, from the hadith of Amash, with the same wording.The report of Saeed bin Jubayr, its chain is daif and maqtu. Ibn Lahia narrated with an'ana.