Ali bin Abu Talib reported,

The Prophet ﷺ used to say at the end of the witr prayer, "O Allah, I seek refuge in Your pleasure from Your displeasure, and I seek refuge in Your pardon from Your punishment, and I seek refuge in You from You. I cannot enumerate Your praise. You are as You have praised Yourself."

Azami 11070

Sahih

عن علي بن أبي طالب

أن النبي ﷺ كان يقول في آخر الوتر: اللهم إني أعوذ برضاك من سخطك، وأعوذ بمعافاتك من عقوبتك، وأعوذ بك منك، لا أحصي ثناء عليك أنت كما أثنيت على نفسك.

الأعظمي 11070صحيح
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 11070 (2nd edition)
Azami 11070