The Prophet (ﷺ) said, "He who lets the people hear of his good deeds intentionally, to win their praise, Allah will let the people know his real intention (on the Day of Resurrection), and he who does good things in public to show off and win the praise of the people, Allah will disclose his real intention (and humiliate him).
Referencia y fuente completas
Sahih al-Bukhari 6499
In-book : Book 81, Hadith 88
USC-MSA web (English) : Vol. 8, Book 76, Hadith 506 (deprecated)
Referencias, traducciones y números varían entre ediciones. El número de la URL identifica un registro de la app, no una numeración universal. Solo se muestran los grados proporcionados, sin una nueva evaluación.