Zuhd 37:4366
It wasnarrated that Abu Hurairah said:
“A man said: ‘O Messenger ofAllah, I do a good deed, then others find out about it and thatpleases me.’ He said: ‘You will have two rewards, the reward fordoingit in secret and the reward for doing it openly (so that othersmayfollow your example).’”