It was narrated that Ali, may Allah (SWT) be pleased with him, said:
"Witr is not essential like the obligatory prayers, but it is the sunnah of the Messenger of Allah (ﷺ)."