It is narrated from Ibn Muhayriz (may Allah have mercy on him) that a man of Kinanah, al-Mukhdaji, heard a man in Syria, Abu Muhammad, saying that witr is obligatory. Al-Mukhdaji says: I went to Sayyiduna Ubadah bin al-Samit (may Allah be pleased with him), and as he was heading to the mosque I came before him on the way, then told him what Abu Muhammad had said. Sayyiduna Ubadah (may Allah be pleased with him) 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 the servants. Whoever performs them without neglecting any of them out of taking their due lightly has a covenant with Allah that He will admit him into Paradise; and whoever does not perform them has no covenant with Allah: if He wills, He will punish him, and if He wills, He will admit him into Paradise.'"
This is the wording of al-Qa'nabi and Isma'il.
In the narration of Abu Mus'ab: "Whoever performs them and does not diminish anything of them."