حَدَّثَنَا أَحْمَدُ بْنُ عَمْرٍو ، قَالَ : نَا أَبُو الرَّبِيعِ قَالَ : نَا إِسْمَاعِيلُ بْنُ جَعْفَرٍ ، عَنْ يَزِيدَ بْنِ خُصَيْفَةَ ، عَنْ إِبْرَاهِيمَ بْنِ عَبْدِ اللهِ بْنِ عَبْدٍ الْقَارِيِّ ، أَنَّ عَلِيًّا ، كَانَ يَقُولُ : بِتُّ عِنْدَ رَسُولِ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ- ذَاتَ لَيْلَةٍ ، فَكُنْتُ أَسْمَعُهُ إِذَا فَرَغَ مِنْ صَلَاتِهِ ، وَتَبَوَّأَ مَضْجَعَهُ يَقُولُ : اللَّهُمَّ إِنِّي أَعُوذُ بِمُعَافَاتِكَ مِنْ عُقُوبَتِكَ ، وَأَعُوذُ بِرِضَاكَ مِنْ سَخَطِكَ ، وَأَعُوذُ بِكَ مِنْكَ ، اللَّهُمَّ لَا أَسْتَطِيعُ ثَنَاءً عَلَيْكَ وَلَوْ حَرَصْتُ ، وَلَكِنْ أَنْتَ كَمَا أَثْنَيْتَ عَلَى نَفْسِكَ . لَمْ يَرْوِ هَذَا الْحَدِيثَ عَنْ إِبْرَاهِيمَ بْنِ عَبْدِ اللهِ بْنِ عَبْدٍ الْقَارِيِّ إِلَّا يَزِيدُ بْنُ خُصَيْفَةَ ، تَفَرَّدَ بِهِ إِسْمَاعِيلُ بْنُ جَعْفَرٍ I " .
It is narrated from Ibrahim bin Abdullah bin Abd al-Qari (may Allah have mercy on him) that Sayyiduna Ali (may Allah be pleased with him) used to say: "I spent a night with the Messenger of Allah (peace and blessings be upon him), and I heard him (peace and blessings be upon him), when he (peace and blessings be upon him) had finished his prayer and come to his bed, saying: 'Allahumma inni a'udhu bi-mu'afatika min 'uqubatika, wa a'udhu bi-ridaka min sakhatika, wa a'udhu bika minka. Allahumma la astati'u thana'an 'alayka wa law harastu, wa lakin anta kama athnayta 'ala nafsik' (O Allah, I seek refuge in Your pardon from Your punishment, and I seek refuge in Your pleasure from Your anger, and I seek refuge in You from You. O Allah, I am not able to praise You (as You deserve) however hard I try; You are as You have praised Yourself)."
No one narrated this hadith from Ibrahim bin Abdullah bin Abd al-Qari (may Allah have mercy on him) except Yazid bin Khusayfah (may Allah have mercy on him), and Isma'il bin Ja'far (may Allah have mercy on him) is alone in narrating it from him.