عَنِ ابْنِ عُمَرَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «صَلَاةُ اللَّيْلِ مَثْنَى مَثْنَى فَإِذَا خَشِيَ أَحَدُكُمُ الصُّبْحَ صَلَّى رَكْعَةً وَاحِدَة توتر لَهُ مَا قد صلى»
Translation
Abu Huraira said, ‘‘My friend* instructed me to observe three practices

to fast three days every month, to pray two rak'as in the forenoon, and to observe a witr before going to sleep.” *i.e. the Prophet.(Bukhari and Muslim.)