It is narrated from Sayyiduna Ali (may Allah be pleased with him): The Prophet (peace and blessings be upon him) said to me: "O Ali, shall I not teach you a supplication such that, when you supplicate with it, you will be forgiven, even if you are already forgiven?" He said: "Of course!" He (peace and blessings be upon him) said: "'La ilaha illallahul-'Aliyyul-'Azim, la ilaha illallahul-'Aliyyul-Karim, la ilaha illallahu Rabbul-'Arshil-'Azim' (There is no god but Allah, the Most High, the Most Great; there is no god but Allah, the Most High, the Most Generous; there is no god but Allah, the Lord of the Mighty Throne)."
Imam al-Tabarani (may Allah have mercy on him) said: "No one narrated this hadith from Abu Ishaq, from al-Harith, from Sayyiduna Ali (may Allah be pleased with him), except al-Husayn bin Waqid."
And Ali bin Salih bin Hayy (may Allah have mercy on him) narrated it from Abu Ishaq, from Amr bin Murrah, from Abdullah bin Salamah, from Sayyiduna Ali (may Allah be pleased with him).
And Isra'il (may Allah have mercy on him) narrated it from Abu Ishaq, from Abd al-Rahman bin Abi Layla, from Sayyiduna Ali (may Allah be pleased with him).
Hadith Referenceالمعجم الأوسط / باب القاف / 4998
Hadith Takhrij«أخرجه ابن حبان فى «صحيحه» برقم: 6928، والضياء المقدسي فى «الأحاديث المختارة» برقم: 602، 603، 648، 649، 650، والحاكم فى «المستدرك» برقم: 4695، والنسائي فى «السنن الكبرى» برقم: 7630، 7631، 8356، 8357، 8358، 8359، 8360، 8361، 10397، 10398، 10401، 10399، 10400، والترمذي فى «جامعه» برقم: 3504، 3504 (م)، وأحمد فى «مسنده» برقم: 723، 1380، وعبد بن حميد فى «مسنده» برقم: 74، والبزار فى «مسنده» برقم: 627، 705، وابن أبي شيبة فى «مصنفه» برقم: 29967، والطبراني فى «الصغير» برقم: 350، 763، والطبراني فى «الأوسط» برقم: 3421»