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