It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever makes (his good deeds) heard by people (for fame), Allah Almighty will make (his disgrace) heard; and whoever acts to be seen, Allah Almighty will make (his reality) seen."
No one other than Hafs bin Ghiyath (may Allah have mercy on him) narrated this hadith from Isma'il bin Sumay' (may Allah have mercy on him), and his son (Umar bin Hafs (may Allah have mercy on him)) is alone in narrating it from him.
Hadith Referenceالمعجم الأوسط / باب العين / 4680
Hadith Takhrij«أخرجه مسلم فى «صحيحه» برقم: 2986، وابن حبان فى «صحيحه» برقم: 407، والنسائي فى «السنن الكبرى» برقم: 11636، والطبراني فى «الكبير» برقم: 12371»