It is narrated from Sayyiduna Ali bin Abi Talib (may Allah be pleased with him): "The Messenger of Allah (peace and blessings be upon him) prayed the witr in the early part of the night, in the middle part, and in the last part of the night; then (the time of) the witr came to rest at the setting of the stars (that is, close to dawn) and became fixed there."
Abu Bakr bin Abi Shaybah recorded it with a sahih (authentic) chain, and the wording is his; Abu Dawud al-Tayalisi, Ibn Majah, and Ibn Khuzaymah in his Sahih also recorded it, but the words from "then the witr became fixed" to the end are not mentioned in their narration.
Hadith Takhrij«رواه أبو بكر بن أبي شيبة بسند صحيح واللفظ له» «أخرجه سنن ابن ماجه برقم: 1186، وأخرجه مسند أحمد برقم: 653، وأخرجه مسند البزار برقم: 681، وأخرجه المعجم الأوسط للطبراني برقم: 1830»