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)." (TR)
English reference (TR): Vol. 5, Book 37, Hadith 4207 (TR)
Arabic reference (TR): Book 37, Hadith 4347 (TR)