The KOMAIL prayer is one of the most famous prayers; Allama Majlisi (may God have mercy on him) has said: This prayer is one of the best prayers and it is the prayer of Khidr of the Prophet (peace be upon him).
The Commander of the Faithful (pbuh) taught it to Kamil, who was one of the personalities of his companions; And he has also said: It is recited on the nights of mid-Shaban and every Friday night, and it is useful for preventing the bites of the enemies and opening the doors of sustenance and the forgiveness of sins. KOmil prayer is at the peak of mysticism and this shows the position of Imam Ali (AS) in the sight of God.
Shaykh al-Tusi and Sayyid Ibn Tawus have mentioned it in their prayer books, and I narrate the text of this heavenly treasure from “Mesbah al-Muttahid”; And that noble prayer is:
اللّٰهُمَّ إِنِّى أَسْأَلُكَ بِرَحْمَتِكَ الَّتِى وَسِعَتْ كُلَّ شَىْءٍ، وَبِقُوَّتِكَ الَّتِى قَهَرْتَ بِها كُلَّ شَىْءٍ، وَخَضَعَ لَها كُلُّ شَىْءٍ، وَذَلَّ لَها كُلُّ شَىْءٍ، وَبِجَبَرُوتِكَ الَّتِى غَلَبْتَ بِها كُلَّ شَىْءٍ، وَبِعِزَّتِكَ الَّتِى لَايَقُومُ لَها شَىْءٌ، وَ بِعَظَمَتِكَ الَّتِى مَلَأَتْ كُلَّ شَىْءٍ، وَ بِسُلْطانِكَ الَّذِى عَلَا كُلَّ شَىْءٍ، وَ بِوَجْهِكَ الْباقِى بَعْدَ فَنَاءِ كُلِّ شَىْءٍ، وَبِأَسْمَائِكَ الَّتِى مَلَأَتْ أَرْكَانَ كُلِّ شَىْءٍ، وَبِعِلْمِكَ الَّذِى أَحَاطَ بِكُلِّ شَىْءٍ، وَبِنُورِ وَجْهِكَ الَّذِى أَضَاءَ لَهُ كُلُّ شَىْءٍ؛ يَا نُورُ يَا قُدُّوسُ، يَا أَوَّلَ الْأَوَّلِينَ، وَيَا آخِرَ الْآخِرِينَ .
I ask you, O God, for your mercy, which has encompassed everything, and for the power with which you have overcome everything, and for which you have humbled everything, and for which everything has been humiliated, and for the absolute power with which you have excelled everything, and for the abilities with which Nothing endured before him, and to the greatness that filled everything, and to the kingdoms that are above everything, and to the nature that remains after the destruction of everything, and to your letter, which laid the foundations of everything and knew that it surrounded everything and The light of your essence in the light of which everything shines; O light, O clean from every defect, O beginning of every beginning and O end of every end,