I asked Ibn 'Abbas about the Witr prayer. He said: I heard the Messenger of Allah ﷺ as saying: It is a rak'ah at the end of the night prayer. (Using translation from Muslim 753)
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ رَكْعَةٌ مِنْ آخِرِ اللَّيْلِ وَسَأَلْتُ ابْنَ عُمَرَ فَقَالَ سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ رَكْعَةٌ مِنْ آخِرِ اللَّيْلِ