The Prophet ﷺ used to say in his witr prayer, "O Allah, I seek refuge in Your pleasure from Your displeasure, 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."He said, this is a hasan gharib hadith from the narration of Ali. We know it only through this route, from the narration of Hammad bin Salama.
حدثنا أحمد بن منيع حدثنا يزيد بن هارون أخبرنا حماد بن سلمة عن هشام بن عمرو الفزاري عن عبد الرحمن بن الحارث بن هشام
أن النبي ﷺ كان يقول في وتره اللهم إني أعوذ برضاك من سخطك وأعوذ بمعافاتك من عقوبتك وأعوذ بك منك لا أحصي ثناء عليك أنت كما أثنيت على نفسك قال هذا حديث حسن غريب من حديث علي لا نعرفه إلا من هذا الوجه من حديث حماد بن سلمة
[Its chain of transmission is sahih]. Abu Dawud narrated it in the book of Witr, chapter on qunut in Witr, no. 1427, Ibn Majah, no. 1179, and Nasai, no. 1748, from the hadith of Hammad bin Salama through the same route. Hakim graded it sahih, 1/306, and Dhahabi concurred with him.