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."[Al-Bukhari and Muslim].
App reference: Book 18, Hadith 109
Arabic/English book reference: Book 18, Hadith 1619