A man asked the Messenger of Allah ﷺabout prayers at night, and he said: "Two by two, then if one of you fears that dawn will come, let him pray witr with one."
أَنَّ رَجُلاً سَأَلَ رَسُولَ اللَّهِ ﷺ عَنْ صَلاَةِ اللَّيْلِ قَالَ مَثْنَى مَثْنَى فَإِنْ خَشِيَ أَحَدُكُمُ الصُّبْحَ فَلْيُوتِرْ بِوَاحِدَةٍ