Mishkat al-Masabih 2442
وَعَنْ أُمُّ سَلَمَةَ رَضِيَ اللَّهُ عَنْهَا أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ إِذَا خَرَجَ مِنْ بَيْتِهِ قَالَ: «بِسْمِ اللَّهِ تَوَكَّلْتُ عَلَى اللَّهِ اللَّهُمَّ إِنَّا نَعُوذُ بِكَ مِنْ أَنْ نَزِلَّ أَوْ نَضِلَّ أَوْ نَظْلِمَ أَوْ نُظْلَمَ أَوْ نَجْهَلَ أَوْ يُجْهَلَ عَلَيْنَا» . رَوَاهُ أَحْمَدُ وَالتِّرْمِذِيُّ وَالنَّسَائِيُّ وَقَالَ التِّرْمِذِيُّ: هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ وَفِي رِوَايَةِ أَبِي دَاوُدَ وَابْنِ مَاجَهْ قَالَتْ أُمُّ سَلَمَةَ: مَا خَرَجَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مِنْ بَيْتِي قَطُّ إِلَّا رَفَعَ طَرْفَهُ إِلَى السَّمَاءِ فَقَالَ: «اللَّهُمَّ إِنِّي أَعُوذُ بِكَ أَنْ أَضِلَّ أَوْ أُضَلَّ أَوْ أَظْلِمَ أَوْ أُظْلَمَ أَوْ أَجْهَلَ أَو يجهل عَليّ»
From Umm Salamah, may Allah be pleased with her: When the Prophet ﷺ went out of his house, he would say: "In the name of Allah, I put my trust in Allah. O Allah, we seek refuge in You from slipping or going astray, from wronging or being wronged, and from acting ignorantly or being treated ignorantly." Reported by Ahmad, at-Tirmidhi and an-Nasaʾi, and at-Tirmidhi said: This is a hasan sahih hadith. In the narration of Abu Dawud and Ibn Majah, Umm Salamah said: The Messenger of Allah ﷺ never went out of my house except that he raised his gaze to the sky and said: "O Allah, I seek refuge in You from going astray or being led astray, from wronging or being wronged, and from acting ignorantly or being treated ignorantly."