Volume 9 · Book 93 · Hadith 596
Narrated Abu Huraira: Allah's Apostle said, "Allah said, 'I am to my slave as he thinks of Me, (i.e. I am able to do for him what he thinks I can do for him). (See Hadith No. 502)
— Sahih Bukhari, Volume 9, Book 93: Oneness, Uniqueness of Allah (Tawheed), Hadith #596