Abu Ayub reported,

The Messenger of Allah ﷺ said, "Witr is due upon every Muslim. Whoever wishes to pray witr with five rakahs may do so, whoever wishes to pray it with three may do so, and whoever wishes to pray it with one may do so."

Azami 2825

Sahih

عن أبي أيوب الأنصاري قال

قال رسول الله ﷺ: الوتر على كل مسلم، فمن أحب أن يوتر بخمس فليفعل، ومن أحب أن يوتر بثلاث فليفعل، ومن أحب أن يوتر بواحدة فليفعل.

الأعظمي 2825صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Witr prayer
Section
Giving the witr prayer a choice between one, three, and five
Numbering
Jami al-Kamil 2825 (2nd edition)
Azami 2825