Al-Ilmam bi-Ahadith al-Ahkam 225
وَعَن أبي الْحَوْرَاء، قَالَ: الْحسن بن عَلّي: عَلمنِي رَسُول الله ﷺ كَلِمَات أقولهن فِي الْوتر، وَفِي رِوَايَة: فِي قنوت الْوتر: " اللَّهُمَّ اهدني فِيمَن هديت، وَعَافنِي فِيمَن عافيت، وتولّني فِيمَن توليت، وَبَارك لي فِيمَا أَعْطَيْت، وقني شَرّ مَا قضيت، إِنَّك تقضي وَلَا يُقْضَى عَلَيْك، وَإنَّهُ لَا يذل من واليت، تَبَارَكت رَبنَا وَتَعَالَيْت ". أخرجه أَبُو دَاوُد، وَهُوَ مِمَّا ألزم الشَّيْخَانِ تَخْرِيجه.
From Abu al-Hawraʾ, who said: Al-Hasan ibn ʿAli [said]: The Messenger of Allah ﷺ taught me words to say in the witr — in a narration: in the qunut of the witr: "O Allah, guide me among those You have guided, grant me wellbeing among those You have granted wellbeing, take me into Your care among those You have taken into Your care, bless me in what You have given, and protect me from the evil of what You have decreed. For You decree and none decrees over You, and the one whom You befriend is not humiliated. Blessed and exalted are You, our Lord." Abu Dawud reported it, and it is among those [hadiths] the two shaykhs were held bound to report.