Sunan Ibn Majah · Hadith 1246
Establishing the Prayer and the Sunnah Regarding Them - كتاب إقامة الصلاة والسنة فيها
حدثنا عبد الرحمن بن إبراهيم الدمشقي، حدثنا الفريابي، عن الأوزاعي، عن الزهري، عن عطاء بن يزيد الليثي، عن أبي أيوب الأنصاري، أن رسول الله صلى الله عليه وسلم قال " الوتر حق فمن شاء فليوتر بخمس ومن شاء فليوتر بثلاث ومن شاء فليوتر بواحدة " .
It wasnarrated from Abu Ayyub Al-Ansari that the Messenger of Allah(ﷺ)said: “Witr is Haqq.* Whoever wishes let him pray Witr with five(Rak’ah), and whoever wishes let him pray Witr with three (Rak’ah),and whoever wishes let him pray Witr with one (Rak’ah).”
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).