It is narrated from Sayyiduna Ali (may Allah be pleased with him) that he said: "The witr is a Sunnah which the Messenger of Allah (peace and blessings be upon him) established, so O people of the Qur'an, offer the witr."
Imam Abu Dawud (may Allah have mercy on him) narrated it through Ibrahim bin Musa, Isa bin Yunus and Zakariyya bin Abi Za'idah, from Abu Ishaq.
And Imam al-Tirmidhi (may Allah have mercy on him) narrated it through Abu Kurayb, Abu Bakr bin Ayyash and Abu Ishaq, more completely than the hadith of Zakariyya, and said: "This hadith is hasan." He (Imam al-Tirmidhi, may Allah have mercy on him) also narrated it from Bundar, from Ibn Mahdi, from Sufyan, from Abu Ishaq with the same meaning, and it contains these words: "It is not binding (like the obligatory prayers), but it is a Sunnah which the Messenger of Allah (peace and blessings be upon him) established."
And Imam Ibn Majah (may Allah have mercy on him) narrated it from Ali bin Muhammad and Muhammad bin al-Sabbah, from Abu Bakr bin Ayyash, similar to the hadith of Bundar.
And Imam al-Nasa'i (may Allah have mercy on him) narrated it through Hannad bin al-Sari, Abu Bakr, Abu Ishaq and Asim with these words: "O people of the Qur'an, offer the witr."
He (Imam al-Nasa'i, may Allah have mercy on him) also narrated it from Mahmud bin Ghaylan, from Waki', and from Muhammad bin Isma'il bin Ibrahim, from Abu Nu'aym, all of them through Sufyan, Abu Ishaq and Asim: "The witr is not binding," to the end of the hadith.
And Imam Muhammad bin Khuzaymah (may Allah have mercy on him) narrated it in his Sahih through Ya'qub bin Ibrahim al-Dawraqi and others, from Abu Bakr bin Ayyash, similar to it.