A man said, "Messenger of Allah, I do a deed and someone notices it, and this pleases me."He replied, "You have two rewards, the reward of secrecy and the reward of openness."
حدثنا محمد بن بشار حدثنا أبو داود حدثنا سعيد بن سنان أبو سنان الشيباني عن حبيب بن أبي ثابت عن أبي صالح
قال رجل يا رسول الله إني أعمل العمل فيطلع عليه فيعجبني قال لك أجران أجر السر وأجر العلانية
(Its chain of transmission is daif) Tirmidhi transmitted it in the chapters on Zuhd, chapter on secret deeds, no. 2384, from the hadith of Saeed bin Sinan, through this route, and he said it is hasan gharib. See no. 383 regarding the status of Habib's use of "an" in transmission. The rest of the chain is hasan.