كتاب الذكر والدعاء والتوبة والاستغفار
48
The Book Pertaining to the Remembrance of Allah, Supplication, Repentance and Seeking Forgiveness
(18)
Chapter: Supplications [Of The Prophet (SAW)]
(18)
باب التَّعَوُّذِ مِنْ شَرِّ مَا عَمِلَ وَمِنْ شَرِّ مَا لَمْ يَعْمَلْ

'Ali reported that Allah's Messenger (ﷺ) said to him:

Say," O Allah, direct me to the right path and make me adhere to the straight path," and when you make a mention of right guidance, keep in mind the right path and when you consider of the straight (path), keep in mind the straightness of the arrow.
حَدَّثَنَا أَبُو كُرَيْبٍ، مُحَمَّدُ بْنُ الْعَلاَءِ حَدَّثَنَا ابْنُ إِدْرِيسَ، قَالَ سَمِعْتُ عَاصِمَ بْنَ كُلَيْبٍ، عَنْ أَبِي بُرْدَةَ، عَنْ عَلِيٍّ، قَالَ قَالَ لِي رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ قُلِ اللَّهُمَّ اهْدِنِي وَسَدِّدْنِي وَاذْكُرْ بِالْهُدَى هِدَايَتَكَ الطَّرِيقَ وَالسَّدَادِ سَدَادَ السَّهْمِ ‏"‏ ‏.‏
Reference : Sahih Muslim 2725 a
In-book reference : Book 48, Hadith 104
USC-MSA web (English) reference : Book 35, Hadith 6573
  (deprecated numbering scheme)