Sahih Bukhari Volume 002, Book 021, Hadith Number 228.

Narated By 'Aisha : Allah's Apostle used to give up a good deed, although he loved to do it, for fear that people might act on it and it might be made compulsory for them. The Prophet never prayed the Duha prayer, but I offer it.