“A man said: ‘O Messenger of
Allah, I do a good deed, then others find out about it and that
pleases me.’ He said: ‘You will have two rewards, the reward for
doing
it in secret and the reward for doing it openly (so that others
may
follow your example).’”
Sunan Ibn Majah Book 37, Hadith 127