It was narrated from Abu Ayyub Al-Ansari that the Messenger of Allah (ﷺ) said:
“Witr is Haqq.* Whoever wishes let him pray Witr with five (Rak’ah), and whoever wishes let him pray Witr with three (Rak’ah), and whoever wishes let him pray Witr with one (Rak’ah).”