Abu Rafi’ narrates: He said to Sayyiduna ‘Ubada bin Samit (may Allah be pleased with him): O Abu Walid! There was a man from the Ansar named Abu Muhammad, who was a companion, and he holds the opinion that Witr is obligatory. Sayyiduna ‘Ubada bin Samit said: Abu Muhammad has said this incorrectly; I heard the Prophet (peace and blessings of Allah be upon him) say: Whoever performs the five prayers and completes them, not neglecting any of their due rights, then for such a person there is a covenant with Allah that He will not punish him. And whoever performs them but neglects something from their due rights, then for such a person there is no covenant with Allah. If He wills, He will have mercy on him, and if He wills, He will punish him. (Imam Ibn Hibban, may Allah have mercy on him, says: The narrator named Abu Muhammad is Mas’ud bin Zayd bin Sabi’ al-Ansari, he belonged to Banu Dinar bin Najjar, he was a companion, and he resided in Syria.)
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 1731
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «صحيح أبي داود» (1276).فضيلة الشيخ العلّامة شُعيب الأرناؤوطحديث صحيح، محمد بن عمرو: هو ابن علقمة بن وقاص الليثي، حسن الحديث، والمخدجي: ذكره المؤلف في «الثقات» 5/ 570، وهو لا يعرف بغير هذا الحديث، لكن تابعه أبو عبد الله الصنابحي عند أحمد 5/ 317، وأبو داود (425)، وأبو إدريس الخولاني عند الطيالسي (573)، وباقي رجاله ثقات على شرطهما.