Sunan An-Nasa'i - سنن النسائي
20. The Book of Qiyam Al-Lail (The Night Prayer) and Voluntary Prayers During the Day - كتاب قيام الليل وتطوع النهار
28) Chapter: Encouragement to pray witr before sleeping
It was narrated that Abu Hurairah said:
"My closest friend advised me to do three things: 'To pray witr at the beginning of the night, to pray two rak'ahs of Fajr and to fast three days of each month.'"
28) باب الْحَثِّ عَلَى الْوِتْرِ قَبْلَ النَّوْمِ
أَخْبَرَنَا مُحَمَّدُ بْنُ بَشَّارٍ، قَالَ حَدَّثَنَا مُحَمَّدٌ، قَالَ حَدَّثَنَا شُعْبَةُ، ثُمَّ ذَكَرَ كَلِمَةً مَعْنَاهَا عَنْ عَبَّاسٍ الْجُرَيْرِيِّ، قَالَ سَمِعْتُ أَبَا عُثْمَانَ، عَنْ أَبِي هُرَيْرَةَ، قَالَ أَوْصَانِي خَلِيلِي صلى الله عليه وسلم بِثَلاَثٍ الْوِتْرِ أَوَّلَ اللَّيْلِ وَرَكْعَتَىِ الْفَجْرِ وَصَوْمِ ثَلاَثَةِ أَيَّامٍ مِنْ كُلِّ شَهْرٍ .