It is narrated from Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) used to make this supplication in his witr prayer: 'Allahumma inni a'udhu bi-ridaka min sakhatik, wa bi-mu'afatika min 'uqubatik, wa a'udhu bika minka, la uhsi ni'mataka wa la thana'an 'alayk, anta kama athnayta 'ala nafsik' (O Allah, I seek refuge in Your pleasure from Your displeasure, and in Your pardon from Your punishment, and I seek refuge in You from You (from Your majesty). I cannot count Your blessings, nor can I praise You as You deserve; You are as You have praised Yourself).
Abu Dawud al-Tayalisi recorded it, and the authors of the four Sunan also recorded it, but the words "I cannot count Your blessings" are not found in their versions.
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده صحيح
Hadith Takhrij«طريقه عند الطيالسي وأصحاب السنن: حماد بن سلمة عن هشام بن عمرو الفزاري عن عبد الرحمن بن الحارث بن هشام عن علي؛ هشام بن عمرو: ثقة (التقريب)» «أخرجه سنن الترمذي برقم: 3566، وأخرجه سنن النسائي برقم: 1747، وأخرجه سنن أبي داود برقم: 1427، وأخرجه سنن ابن ماجه برقم: 1179، وأخرجه المعجم الأوسط للطبراني برقم: 2013، وأخرجه الأحاديث المختارة برقم: 630، وأخرجه السنن الكبرى للنسائي برقم: 1546، 7996»