Sahih Muslim, Book 6, Hadith 102 (Muslim 1657)

Abu Huraira reported. My friend (the Holy Prophet, may peace be upon him) has instructed me to do three things:

three fasts during every month, two rak'ahs of the forenoon prayer, and observing Witr prayer before going to bed.