It was narrated from Jundab that the Messenger of Allah (ﷺ) said:“Whoever wants to be heard of, Allah will make him heard of, and whoever wants to be seen, Allah will show him (i.e., expose his real motives).”
Hadith No. 4207
Sunan Ibn Majah
Gradings:
Al-Albani:
Sahih
Muhammad Fouad Abd al-Baqi:
Sahih
Shuaib Al Arnaut:
Sahih
Zubair Ali Zai:
Sahih - Agreed Upon