Abu Hurairah narrated that A man said:
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 (s.a.w) said: 'He receives two rewards: A reward in its concealment, and a reward in its publicity.'