Ali bin Abu Talib reported,

Take note that the witr prayer is not obligatory like your prescribed prayers, but the Messenger of Allah ﷺ performed witr and then said, "Perform witr, people of the Quran, perform witr, for Allah is one and loves what is odd in number." This is the wording of the hadith of Abdullah bin Sandal, and the meaning of both reports is the same.

Ahmad 1262

Sahih

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

قال علي رضي الله عنه

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

أحمد 1262صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Ali bin Abu Talib
Numbering
Darussalam 1262
Ahmad 1262