Ibn Umar reported: The Messenger of Allah, peace and blessings be upon him, said, “The night prayer is performed two by two. If you worry that morning is near, pray one cycle as that will be your witr prayer.”
Source: Ṣaḥīḥ al-Bukhārī 990, Ṣaḥīḥ Muslim 749
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ ابْنِ عُمَرَ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ صَلَاةُ اللَّيْلِ مَثْنَى مَثْنَى فَإِذَا خَشِيَ أَحَدُكُمْ الصُّبْحَ صَلَّى رَكْعَةً وَاحِدَةً تُوتِرُ لَهُ مَا قَدْ صَلَّى
990 صحيح البخاري كتاب الوتر باب ما جاء في الوتر
749 صحيح مسلم كتاب صلاة المسافرين وقصرها باب صلاة الليل مثنى مثنى والوتر ركعة من آخر الليل