Hadithcore
Mishkat al-Masabih, 1731

He reported God’s messenger as declaring that God says, “When I take away from my believing servant his favourite friend among the people of this world and he seeks his reward from me, he will have no other reward from me but paradise.” Bukhari transmitted it.

وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ:

يَقُولُ اللَّهُ: مَا لِعَبْدِي الْمُؤْمِنِ عِنْدِي جَزَاءٌ إِذَا قَبَضْتُ صَفِيَّهُ مِنْ أَهْلِ الدُّنْيَا ثُمَّ احتسبه إِلَّا الْجنَّة

. رَوَاهُ البُخَارِيّ

References1 variant
In-Book Reference
Book 5, Hadith 203