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