Mukhdaji, a man from the tribe of Banu Kinana, reported that a man from the Ansar who lived in Syria, known by the kunya Abu Muhammad, told him that Witr was obligatory. Mukhdaji then said that he went to Ubada bin Samit and mentioned to him that Abu Muhammad was saying that Witr was obligatory.Ubada bin Samit replied, "Abu Muhammad is mistaken. I heard the Messenger of Allah ﷺ say, 'Five prayers Allah has prescribed for His servants. Whoever performs them, neglecting none of them out of disregard for their due, 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 forgive him.'"
حدثنا يزيد أخبرنا يحيى يعني ابن سعيد عن محمد بن يحيى بن حبان أن
أن المخدجي رجلا من بني كنانة أخبره أن رجلا من الأنصار كان بالشام يكنى أبا محمد أخبره أن الوتر واجب فذكر المخدجي أنه راح إلى عبادة بن الصامت فذكر له أن أبا محمد يقول الوتر واجب فقال عبادة بن الصامت كذب أبو محمد سمعت رسول الله ﷺ يقول خمس صلوات كتبهن الله تبارك وتعالى على العباد من أتى بهن لم يضيع منهن شيئا استخفافا بحقهن كان له عند الله تبارك وتعالى عهد أن يدخله الجنة ومن لم يأت بهن فليس له عند الله عهد إن شاء عذبه وإن شاء غفر له
Its isnad is sahih. Ibn Muhayriz is Abdullah, and he is well-known and trustworthy, mentioned frequently before. Mikhdaji is Abu Rafi Kinani, whom Ibn Hibban deemed trustworthy, while Abu Hatim said nothing about him, and in Taqrib he is described as acceptable. Abu Muhammad is a companion said to be named Masud bin Zayd or Masud bin Aws bin Zayd.The hadith was narrated by Abu Dawud (1/115, no. 425), Nasai (1/230, no. 461), Ibn Majah (1/448, no. 1401), Darimi (1/446, no. 1577), Abdul-Razzaq (3/5, no. 4575), and Ibn Hibban (5/23, no. 1732 and 6/174, no. 2417), and Bayhaqi (1/361–38 and 467), all of them in the chapter on prayer, with an isnad similar to that of Ahmad, except that Ibn Hibban narrated it in the first instance through a different route, as did Bayhaqi in the second instance.