Sayyiduna Abu Ayyub Ansari (may Allah be pleased with him) narrates: The Noble Prophet (peace and blessings be upon him) said: "Witr is a duty; whoever wishes may perform five witr, whoever wishes may perform three rak‘ahs, and whoever wishes may perform one rak‘ah of witr, and whoever is only able to gesture, then let him gesture." Adi bin al-Fadl narrated it in this way from Ma'mar as musnad (attributed to the Prophet), while Abd al-Razzaq narrated it from Ma'mar as mawquf (stopped at the Companion); Sufyan bin Uyaynah also narrated it as mawquf, and there is disagreement in what is reported from him and from Muhammad bin Ishaq from al-Zuhri.
Hadith Referenceسنن الدارقطني / كتاب الوتر / 1646
Hadith Takhrij«أخرجه ابن حبان فى ((صحيحه)) برقم: 2407، 2410، 2411، والحاكم فى ((مستدركه)) برقم: 1132، والنسائي فى ((المجتبیٰ)) برقم: 1709 ، وأبو داود فى ((سننه)) برقم: 1422، والدارمي فى ((مسنده)) برقم: 1623، 1624، وابن ماجه فى ((سننه)) برقم: 1190، والبيهقي فى((سننه الكبير)) برقم: 4853، وأبو داود فى ((سننه)) برقم: 1422، والدارمي فى ((مسنده)) برقم: 1623، 1624، وابن ماجه فى ((سننه)) برقم: 1190، والبيهقي فى((سننه الكبير)) برقم: 4853، والدارقطني فى ((سننه)) برقم: 1640، 1641، 1642، 1643، 1644، 1645، 1646، 1647، وأحمد فى ((مسنده)) برقم: 24028»