ʿAbdur-Razzaq said. Someone who saw ʿAli when he rode told me: When he put his foot in the stirrup, he said: Bismillah (in the Name of Allah). When he got on it, he said: Al-Hamdu Lillah (praise be to Allah). Then he said: ʿGlory be to the One Who has placed this (transport) at our service and we ourselves would not have been capable of that, and to our Lord is our final destiny [az-Zukhruf 43:13-14]ʿ. Then he said Al-hamdu Lillah three times and Allahu Akbar three times, then he said: O Allah, there is no god but You. I have wronged myself, so forgive me; no one forgives sins but You. Then he smiled, and it was said: What made you smile, O Ameer al-Muʿmineen? He said: I saw the Messenger of Allah ﷺ do what I have done and say what I have said, then he smiled and we said: What made you smile, O Messenger of Allah ﷺ? He said: ʿI was amazed at the slave when he said there is no god but You. I have wronged myself, so forgive me; no one forgives sins but You,” and he knows that no one forgives sins but He.” (Using translation from Aḥmad 930)
أَنَّهُ شَهِدَ عَلِيًّا ؓ حِينَ رَكِبَ فَلَمَّا وَضَعَ رِجْلَهُ فِي الرِّكَابِ قَالَ بِاسْمِ اللهِ فَلَمَّا اسْتَوَى قَالَ الْحَمْدُ لِلَّهِ ثُمَّ قَالَ {سُبْحَانَ الَّذِي سَخَّرَ لَنَا هَذَا وَمَا كُنَّا لَهُ مُقْرِنِينَ وَإِنَّا إِلَى رَبِّنَا لَمُنْقَلِبُونَ} [الزخرف 14] ثُمَّ حَمِدَ ثَلَاثًا وَكَبَّرَ ثَلَاثًا ثُمَّ قَالَ لَا إِلَهَ إِلَّا أَنْتَ ظَلَمْتُ نَفْسِي فَاغْفِرْ لِي إِنَّهُ لَا يَغْفِرُ الذُّنُوبَ إِلَّا أَنْتَ ثُمَّ ضَحِكَ فَقِيلَ لَهُ مَا يُضْحِكُكَ يَا أَمِيرَ الْمُؤْمِنِينَ؟ قَالَ رَأَيْتُ رَسُولَ اللهِ ﷺ فَعَلَ مِثْلَ مَا فَعَلْتُ وَقَالَ مِثْلَ مَا قُلْتُ ثُمَّ ضَحِكَ فَقُلْنَا مَا يُضْحِكُكَ يَا نَبِيَّ اللهِ؟ قَالَ الْعَبْدُ أَوْ قَالَ عَجِبْتُ لِلْعَبْدِ إِذَا قَالَ لَا إِلَهَ إِلَّا أَنْتَ ظَلَمْتُ نَفْسِي فَاغْفِرْ لِي لَا يَغْفِرُ الذُّنُوبَ إِلَّا أَنْتَ يَعْلَمُ أَنَّهُ لَا يَغْفِرُ الذُّنُوبَ إِلَّا هُوَ