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).'" (JA)
English reference (JA): Vol. 5, Book 37, Hadith 4226 (JA)
Arabic reference (JA): Book 37, Hadith 4366 (JA)