Surah Al-Qasas

28:22

وَلَمَّا تَوَجَّهَ تِلْقَآءَ مَدْيَنَ قَالَ عَسَىٰ رَبِّىٓ أَن يَهْدِيَنِى سَوَآءَ ٱلسَّبِيلِ

And when he directed himself toward Madyan, he said, "Perhaps my Lord will guide me to the sound way."

Tafsir 28:22

And when he walked heading towards Madyan, he said, “I hope in my Lord that He guides me towards the best path from which I do not stray.”