Sayyiduna Abu Mas'ud al-Ansari (may Allah be pleased with him) said: A man came to the Prophet (peace and blessings be upon him) and said: I do a good deed and conceal it, then it becomes known and I feel happy about it. He (peace and blessings be upon him) said: "Two rewards have been written for you: the reward for the hidden deed and the reward for the open deed."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 14795