“The Prophet ﷺ was asked about the night prayer. He said: ‘Pray two by two, and if you fear that dawn is coming, then perform Witr with one Rak’ah.’” (Using translation from Ibn Mājah 1320)
سُئِلَ النَّبِيُّ ﷺ عَنْ صَلَاةِ اللَّيْلِ فَقَالَ مَثْنَى مَثْنَى فَإِذَا خَشِيتَ الصُّبْحَ فَوَاحِدَةً