حَدَّثَنَا مُحَمَّدُ بْنُ حَرْبٍ الْوَاسِطِيُّ، حَدَّثَنَا يَزِيدُ، - يَعْنِي ابْنَ هَارُونَ - حَدَّثَنَا مُحَمَّدُ بْنُ مُطَرِّفٍ، عَنْ زَيْدِ بْنِ أَسْلَمَ، عَنْ عَطَاءِ بْنِ يَسَارٍ، عَنْ عَبْدِ اللَّهِ بْنِ الصُّنَابِحِيِّ، قَالَ زَعَمَ أَبُو مُحَمَّدٍ أَنَّ الْوِتْرَ، وَاجِبٌ، فَقَالَ عُبَادَةُ بْنُ الصَّامِتِ كَذَبَ أَبُو مُحَمَّدٍ أَشْهَدُ أَنِّي سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏"‏خَمْسُ صَلَوَاتٍ افْتَرَضَهُنَّ اللَّهُ تَعَالَى مَنْ أَحْسَنَ وُضُوءَهُنَّ وَصَلاَّهُنَّ لِوَقْتِهِنَّ وَأَتَمَّ رُكُوعَهُنَّ وَخُشُوعَهُنَّ كَانَ لَهُ عَلَى اللَّهِ عَهْدٌ أَنْ يَغْفِرَ لَهُ وَمَنْ لَمْ يَفْعَلْ فَلَيْسَ لَهُ عَلَى اللَّهِ عَهْدٌ إِنْ شَاءَ غَفَرَ لَهُ وَإِنْ شَاءَ عَذَّبَهُ ‏"
Translation
Narrated Abdullah ibn Sunabihi

Abu Muhammad claimed that the Witr prayer is obligatory. Thereupon, Ubadah ibn al-Samit said: Abu Muhammad has lied. I bear witness that I heard the Messenger of Allah, peace and blessings be upon him, saying: "There are five prayers that Allah, the Exalted, has made obligatory. Whoever performs their ablution well, prays them at their proper times, and completes their bowing and humility will have a covenant from Allah that He will forgive him; and whoever does not do so has no covenant from Allah—if He wills, He will forgive him, and if He wills, He will punish him."