It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: Allah Almighty says, "I deal with My servant according to his expectation of Me. If he thinks well, I deal with him with goodness, and if he thinks ill, I deal with him accordingly."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 9076
Hadith Gradingحکم دارالسلام:حديث صحيح، خ: 7405، م: 2675، وهذا إسناد ضعيف لضعف ابن لهيعة