"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.'"
رَجُلٌ يَا رَسُولَ اللَّهِ الرَّجُلُ يَعْمَلُ الْعَمَلَ فَيُسِرُّهُ فَإِذَا اطُّلِعَ عَلَيْهِ أَعْجَبَهُ ذَلِكَ قَالَ رَسُولُ اللَّهِ ﷺ لَهُ أَجْرَانِ أَجْرُ السِّرِّ وَأَجْرُ الْعَلاَنِيَةِ