It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him): "The Messenger of Allah (peace and blessings be upon him) used to recite 'Glorify the name of your Lord, the Most High' in the first rak'ah of the witr, 'Say: O disbelievers' in the second, and 'Say: He is Allah, the One' in the third rak'ah."
Abu Ya'la and al-Bazzar recorded this hadith, and it also has a supporting narration (shahid) from the hadith of Sayyidah Aishah (may Allah be pleased with her), which the authors of the four Sunan, and Ibn Hibban in his Sahih, recorded, while al-Nasa'i recorded it from the narrations of Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) and other Companions. Al-Bayhaqi said: A report has also come forbidding the praying of the three rak'ahs of witr in a way that resembles the Maghrib prayer; it is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him), who said that the Messenger of Allah (peace and blessings be upon him) said: "Do not pray the witr with three rak'ahs, making it resemble the Maghrib prayer; rather pray the witr with five, seven, nine, eleven or even more rak'ahs." The hadith to which al-Bayhaqi referred was recorded by Ibn Hibban in his Sahih.