Mishkat al-Masabih
Mishkat al-Masabih 2264
Arabic hadith text
وَعَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " يَقُولُ اللَّهُ تَعَالَى: أَنَا عِنْدَ ظَنِّ عَبْدِي بِي وَأَنَا مَعَهُ إِذَا ذَكَرَنِي فَإِنْ ذَكَرَنِي فِي نَفْسِهِ ذَكَرْتُهُ فِي نَفْسِي وَإِنْ ذَكَرَنِي فِي مَلَأٍ ذَكَرْتُهُ فِي مَلَأٍ خير مِنْهُم
Translation
Abu Hurayrah reported that the Messenger of God (peace be upon him) said: God Most High says: ‘I am as My servant thinks of Me, and I am with him when he remembers Me. If he remembers Me within himself, I remember him within Myself; and if he remembers Me in an assembly, I remember him in an assembly better than theirs.’ The Arabic source marks it as agreed upon (al-Albani).