Hasan bin Ali reported,

Ali said, "The Messenger of Allah ﷺ taught me words to say in the witr prayer, 'O Allah, guide me among those You have guided, grant me well-being among those You have granted well-being, take me as an ally among those You have taken as allies, bless me in what You have given, and protect me from the evil of what You have decreed. Indeed, You decree and none can decree against You. The one You support is never humiliated, and the one You oppose is never honored. Blessed are You, our Lord, and Exalted.'"

Azami 11071

Sahih

عن الحسن بن علي قال

علمني رسول الله ﷺ كلمات أقولهن في الوتر: اللهم اهدني فيمن هديت، وعافني فيمن عافيت، وتولني فيمن توليت، وبارك لي فيما أعطيت، وقني شر ما قضيت، إنك تقضي ولا يقضى عليك، وإنه لا يذل من واليت، ولا يعز من عاديت، تباركت ربنا وتعاليت.

الأعظمي 11071صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications of adhan and prayer, and what is related to them
Section
What is supplicated in the qunut of Witr
Numbering
Jami al-Kamil 11071 (2nd edition)
Azami 11071