Hazrat Jundub (may Allah be pleased with him) narrated that the Prophet Muhammad (peace and blessings be upon him) said: Whoever seeks fame as a result of a good deed, Allah will make his evil intention known to everyone on the Day of Resurrection. Similarly, whoever performs a good deed to show off to people, Allah will also show him to everyone on the Day of Resurrection.
Hadith Referenceاللؤلؤ والمرجان / كتاب الزهد والرقائق / 1880
Hadith Gradingمحدثین:«صحیح»
Hadith Takhrij«صحیح، أخرجه البخاري في: 81 كتاب الرقاق: 36 باب الرياء والسمعة»