Abdullah bin Sanabhi reported,

Abu Muhammad claimed that the witr prayer is obligatory.Ubada bin Samit responded, "Abu Muhammad has spoken falsely. I bear witness that I heard the Messenger of Allah ﷺ say, 'There are five prayers which Allah the Exalted has made obligatory. Whoever performs their ablution well, prays them at their appointed times, and completes their bowing and humble submission, has a covenant with Allah that He will forgive him. But whoever does not do so has no covenant with Allah. If He wills, He may forgive him, and if He wills, He may punish him.'"

Azami 1728

Sahih

عن عبد الله بن الصنابحي قال

زعم أبو محمد أن الوتر واجب، فقال عبادة بن الصامت: كذب أبو محمد، أشهد أني سمعت رسول الله ﷺ يقول: خمس صلوات افترضهن الله تعالى من أحسن وضوءهن وصلاهن لوقتهن، وأتم ركوعهن وخشوعهن، كان له على الله عهد أن يغفر له، ومن لم يفعل فليس له على الله عهد، إن شاء غفر له، وإن شاء عذبه.

الأعظمي 1728صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Obligation of prayer and its virtue
Section
How and how many prayers Allah obligated upon His servants
Numbering
Jami al-Kamil 1728 (2nd edition)
Azami 1728