Al-Hakim ibn ‘Umayr reported: The Messenger of Allah, peace and blessings be upon him, said, “Whoever does a good deed for you, then compensate him. If you cannot do so, then pray for him.”
Source: al-Mu’jam al-Kabīr lil-Ṭabarānī 3189
Grade: Sahih (authentic) according to Al-Albani
عَنِ الْحَكَمِ بْنِ عُمَيْرٍ قَالَ قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ مَنْ أَتَى إِلَيْكُمْ مَعْرُوفًا فَكَافِئُوهُ فَإِنْ لَمْ تَجِدُوا فَادْعُوا لَهُ
3/218 المعجم الكبير للطبراني
5937 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الجامع