A man who lived in the desert asked the Messenger of Allah (ﷺ) about the prayer at night. He made a sign with his two fingers-in this way in pairs. The witr consists of one rak'ah towards the end in night.
Sunan Abi Dawud Book 8, Hadith 6