أَخْبَرَنَا أَبُو جَعْفَرٍ مُحَمَّدُ بْنُ أَحْمَدَ بْنِ نَصْرِ بْنِ أَبِي الْفَتْحِ الصَّيْدَلَانِيُّ - بِقِرَاءَتِي عَلَيْهِ بِأَصْبَهَانَ - قُلْتُ لَهُ : أَخْبَرَكُمْ مَحْمُودُ بْنُ إِسْمَاعِيلَ الصَّيْرَفِيُّ - قِرَاءَةً عَلَيْهِ - وَأَنْتَ حَاضِرٌ ، أَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ بْنِ شَاذَانَ ، أَنَا عَبْدُ اللهِ بْنُ مُحَمَّدٍ الْقَبَّابُ ، أَنَا
أَبُو بَكْرٍ أَحْمَدُ بْنُ عَمْرِو بْنِ أَبِي عَاصِمٍ ، ثَنَا
فَضْلُ بْنُ سَهْلٍ ، قَثَنَا
أَبُو الْجَوَّابِ ، ثَنَا
عَمَّارُ بْنُ رُزَيْقٍ ، عَنْ
أَبِي إِسْحَاقَ . عَنِ
الْحَارِثِ ،
وَأَبِي مَيْسَرَةَ ، عَنْ
عَلِيٍّ عَنِ النَّبِيِّ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - أَنَّهُ كَانَ يَقُولُ : اللَّهُمَّ أَعُوذُ بِوَجْهِكَ الْكَرِيمِ وَكَلِمَاتِكَ التَّامَّاتِ كُلِّهَا مِنْ شَرِّ مَا أَنْتَ آخِذٌ بِنَاصِيَتِهَا ، اللَّهُمَّ أَنْتَ تَكْشِفُ الْمَأْثَمَ وَالْمَغْرَمَ ، اللَّهُمَّ لَا يُهْزَمُ جُنْدُكَ ، وَلَا يُخْلَفُ وَعْدُكَ ، وَلَا يَنْفَعُ ذَا الْجَدِّ مِنْكَ الْجَدُّ ، سُبْحَانَكَ وَبِحَمْدِكَ .
It is narrated from Sayyiduna Ali (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) used to make this supplication: "O Allah, I seek refuge in You, by Your Noble Face and by all Your perfect words, from the evil of everything whose forelock You hold; O Allah, it is You who remove sin and the burden of debt; O Allah, Your army is never defeated and Your promise is never broken, and the wealth and status of one who has wealth and status cannot benefit him against You; glory be to You and with Your praise."
It is narrated from Sayyiduna Ali (may Allah be pleased with him) that when the Messenger of Allah (peace and blessings be upon him) went to his bed, he used to say: "O Allah, I seek refuge in You, by Your Noble Face and by Your perfect words, from the evil of everything whose forelock You hold; O Allah, it is You who remove sin and (the burden of) debt; O Allah, Your army cannot be defeated, Your promise is not broken, and the wealth and status of one who has wealth and status cannot benefit him before You; glory be to You and with Your praise."
Imam Abu Dawud (may Allah have mercy on him) narrated it from Abbas al-Anbari, from al-Ahwas.
Also, Imam al-Nasa'i (may Allah have mercy on him) narrated it in "Amal al-Yawm wal-Laylah" in the same way as we have narrated it.