From Sahih Bukhari (Hadith 1981):
Narrated Abu Huraira:My friend (the Prophet (ﷺ) ) advised me to observe three things: (1) to fast three days a month; (2) to pray two rak`at of Duha prayer (forenoon prayer); and (3) to pray witr before sleeping
Reference: Bukhari 1981