Dalil

Quran Al-Qasas 28:22

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

Translation

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