"O Messenger of Allah! A man does a deed and conceals it, but when it is discovered that he did it, he is happy about that." He said: " The Messenger of Allah (ﷺ) said: 'He receives two rewards: A reward in its concealment, and a reward in its publicity.'"
Reference: Jami` at-Tirmidhi 2384 In-book : Book 36, Hadith 81 English translation : Vol. 4, Book 10, Hadith 2384
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.