It wasnarrated from Jundab that the Messenger of Allah (ﷺ) said:
"Whoeverwants to be heard of, Allah will make him heard of, andwhoever wantsto be seen, Allah will show him (i.e., expose his realmotives)." (ES)
English reference (ES): Vol. 5, Book 37, Hadith 4207 (ES)
Arabic reference (ES): Book 37, Hadith 4347 (ES)