"The Messenger of Allah commanded me to pray two Rakahs of Duha, and not to sleep until I had prayed witr, and to fast three days each month."
Sunan an-Nasa'i Book 22, Hadith 280