[Machine] "He came to the Prophet ﷺ before embracing Islam. When he wanted to leave, he asked, "What should I say?" The Prophet ﷺ replied, "Say, 'O Allah, protect me from the evil of myself and guide me to do what is right.' " He said it and then left without embracing Islam. Later, he embraced Islam and asked the Prophet ﷺ, "What should I say now that I have embraced Islam?" The Prophet ﷺ replied, "Say, 'O Allah, protect me from the evil of myself and guide me to do what is right. O Allah, forgive me for what I have hidden, what I have made public, what I have done mistakenly, what I have done intentionally, what I have known, and what I have been ignorant of.' "
أَنَّهُ أَتَى النَّبِيَّ ﷺ قَبْلَ أَنْ يُسْلِمَ فَلَمَّا أَرَادَ أَنْ يَنْصَرِفَ قَالَ مَا أَقُولُ؟ قَالَ قُلِ اللَّهُمَّ قِنِي شَرَّ نَفْسِي وَاعْزِمْ لِي عَلَى أَرْشِدِ أَمْرِي فَقَالَهَا ثُمَّ انْصَرَفَ وَلَمْ يُسْلِمْ ثُمَّ أَسْلَمَ فَقَالَ يَا رَسُولَ اللَّهِ فَمَا أَقُولُ الْآنَ وَقَدْ أَسْلَمْتُ؟ قَالَ قُلْ اللَّهُمَّ قِنِي شَرَّ نَفْسِي وَاعْزِمْ لِي عَلَى أَرْشِدِ أَمْرِي اللَّهُمَّ اغْفِرْ لِي مَا أَسْرَرْتُ وَمَا أَعْلَنْتُ وَمَا أَخْطَأْتُ وَمَا عَمَدْتُ وَمَا عَلِمْتُ وَمَا جَهِلْتُ