Allah's Messenger (ﷺ) used to give up a good deed, although he loved to do it, for fear…

Sahih al-Bukhari Book 19 Hadith 8

Sahih al-Bukhari #1128

Prayer at Night (Tahajjud) 19:8

Narrated `Aisha:

Allah's Messenger (ﷺ) 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.

Chapter: The Prophet's (pbuh) exhorting to Tahajjud and Nawafil without making them compulsory

Grade: Sahih