Ali bin Abu Talib reported,

The witr prayer is not obligatory, nor is it like your prescribed prayers. However, the Messenger of Allah ﷺ performed the witr and then said, "People of the Quran, perform the witr, for Allah is One and loves what is odd in number."

Ibn Majah 1169

Daif

حدثنا علي بن محمد ومحمد بن الصباح قالا حدثنا أبو بكر بن عياش عن أبي إسحق عن عاصم بن ضمرة السلولي قال

قال علي بن أبي طالب

إن الوتر ليس بحتم ولا كصلاتكم المكتوبة ولكن رسول الله ﷺ أوتر ثم قال يا أهل القرآن أوتروا فإن الله وتر يحب الوتر

ابن ماجه 1169ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Witr
Numbering
Darussalam 1169
Ibn Majah 1169