Hadith
Jundub (May Allah be pleased with him) said:
The Prophet (ﷺ) said: "He who so acts to show off, Allah will disgrace him on the Day of Resurrection, and he who does good deeds so that people (may hold him in high esteem), Allah will expose his hidden evil intentions before the people on the Day of Resurrection."
Authentic
Sahih al-Bukhari