Musa, peace be upon him, in Madyan, and how He watered the Flocks of the Two Women
When the man told Musa about how Fir`awn and his chiefs were conspiring against him, he left Egypt on his own. He was not used to being alone, because before that he had been living a life of luxury and ease, in a position of leadership.
فَخَرَجَ مِنْهَا خَآئِفاً يَتَرَقَّبُ
(So he escaped from there, looking about in a state of fear.) meaning, turning around and watching.
قَالَ رَبِّ نَجِّنِى مِنَ الْقَوْمِ الظَّـلِمِينَ
(My Lord! Save me from the people who are wrongdoers!) means, from Fir`awn and his chiefs. It was mentioned that Allah sent to him an angel riding a horse, who showed him the way. And Allah knows best.
وَلَمَّا تَوَجَّهَ تِلْقَاءَ مَدْيَنَ (And when he set out towards Madyan - 28:22). Madyan (مَدْيَنَ ) is the name of a city in Sham (a large territory now consisting of Syria, Jordan, Lebanon and Palestine) which was named after Madyan, the son of Ibrahim (علیہ السلام) . This area was outside the empire of the Pharaoh. It was eight days journey from Egypt. When Sayyidna Musa (علیہ السلام) was taken over by the natural fright of the pursuing army of the Pharaoh, which was not in conflict either with the prophethood or with trust in Allah, he resolved to leave Egypt. Perhaps he decided to proceed toward Madyan because it was a habitation of the descendants of Sayyidna Ibrahim (علیہ السلام) and he was also his progeny.
When Sayyidna Musa (علیہ السلام) left Egypt, he was in a condition that he had neither any provisions for the journey nor any baggage, and also he did not know the route. In this state of helplessness he turned to Allah Ta` ala and asked عَسَىٰ رَبِّي أَن يَهْدِيَنِي سَوَاءَ السَّبِيلِ (I hope my Lord will guide me to the straight path - 28:22), Allah Ta` ala accepted this prayer. Scholars have observed that the only food Musa علیہ السلام had during this journey was the leaves of trees. Sayyidna Ibn ` Abbas ؓ has said that this was the first trial and test of Sayyidna Musa (علیہ السلام) . Details of trials and tests of Musa (علیہ السلام) have already been described under Surah Taha while quoting a lengthy hadith.
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 21–23
The next day Moses found that the same Israelite was fighting with another Egyptian. This gave a clear indication that he was a quarrelsome person and was in the habit of picking quarrels with someone or the other every day. So, inspite of his being an Israelite, Moses held him guilty. The proof of the Israelite’s being guilty was further strengthened by the fact that, when the Israelite found that Moses was not supporting him on that day and was on the contrary blaming him, he stooped to meanness. In an irresponsible manner, he revealed the secret of the previous day’s killing, which till then had not come to anybody’s knowledge. When the killer’s name was made public by the Israelite, many people heard about it. In a few days the news spread everywhere. Ultimately, there was a discussion among the rulers about killing Moses. One virtuous man who came to know about it, met Moses secretly and advised him that it would be better if he went away. So, he left Egypt and set forth for Midian (Madyan). Midian was situated on the west coast of the Gulf of Aqaba and outside the limits of Pharaoh’s empire.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.