It was narrated from ‘Ali bin Abi Talib that the Prophet (ﷺ) used to say at the end of Witr:
“Allahumma inni a’udhu biridaka min sakhatika, wa a’udhu bimu’afatika min ‘uqubatika, wa a’udhu bika minka, la uhsi thana’an ‘alaika, Anta kama athnaita ‘ala nafsika (O Allah, I seek refuge in Your pleasure from Your wrath, and I seek refuge in Your forgiveness from your punishment, and I seek refuge in You from You. I cannot enumerate Your praise, You are as You have praised Yourself).”