Al-Mukhdaji (may Allah have mercy on him) narrates that a man asked Abu Muhammad, a man of the Ansar, about witr, and he said: "Witr is obligatory just as the prayer is obligatory." Then he came to Sayyiduna Ubadah (may Allah be pleased with him) and mentioned this to him, and he said: "Abu Muhammad is wrong. I heard the Messenger of Allah (peace and blessings be upon him) say: 'There are five prayers that Allah Almighty has made obligatory upon His servants. Whoever performs them without diminishing anything of them out of taking their due lightly, Allah Almighty will appoint for him a covenant on the Day of Resurrection that He will admit him into Paradise; and whoever comes with them having diminished something of them out of taking their due lightly has no covenant with Allah: if He wills, He will punish him, and if He wills, He will forgive him.'"
Imam Ahmad (may Allah have mercy on him) narrated it through Yazid bin Harun (may Allah have mercy on him) from Yahya bin Sa'id (may Allah have mercy on him).
Also, Ya'qub bin Ibrahim (may Allah have mercy on him) narrated something like it from his father, from Muhammad bin Ishaq (may Allah have mercy on him), from Muhammad bin Yahya bin Habban (may Allah have mercy on him).
And Imam Abu Dawud (may Allah have mercy on him) narrated it from al-Qa'nabi (may Allah have mercy on him).
And Imam al-Nasa'i (may Allah have mercy on him) narrated it through Qutaybah (may Allah have mercy on him) from Imam Malik (may Allah have mercy on him).
And Imam Ibn Majah (may Allah have mercy on him) narrated it from Muhammad bin Bashshar (may Allah have mercy on him).
And Imam Abu Hatim al-Busti (may Allah have mercy on him) narrated it through Umar bin Muhammad al-Hamdani (may Allah have mercy on him) from Muhammad bin Bashshar (may Allah have mercy on him), from Ibn Abi Adi (may Allah have mercy on him), from Shu'bah (may Allah have mercy on him).