"Indeed, He who has ordained for you the Quran" meaning: He who has revealed the Quran to you, "shall surely bring you back to a place of return."
Yahya said: It reached me that when the Prophet (peace be upon him) migrated, Gabriel descended upon him while he was at al-Juhfah, heading from Mecca to Medina, and said: "Do you yearn, O Muhammad, for your land in which you were born?" He said: "Yes." He then said: "Indeed, He who has ordained for you the Quran shall surely bring you back to a place of return," meaning: to your place of birth from which you departed, victorious over its people. "Say: My Lord is most knowing of who brings guidance," meaning: Muhammad brought guidance, so the believers believed in him, "and [of] who is," meaning: most knowing of who is, "in clear error."
﴿إِن الَّذِي فرض﴾ يَعْنِي: أنزل ﴿عَلَيْك الْقُرْآن لرادك إِلَى معاد﴾.
قَالَ يَحْيَى: بَلَغَنِي: " أَنَّ النَّبِيَّ ﷺ حِينَ هَاجَرَ نَزَلَ عَلَيْهِ جِبْرِيلُ وَهُوَ بِالْجَحْفَةِ مُوَّجِهٌ مِنْ مَكَّةَ إِلَى الْمَدِينَةِ، فَقَالَ: أَشْتَقْتَ يَا مُحَمَّدُ إِلَى بِلَادِكَ الَّتِي وُلِدْتَ بِهَا فَقَالَ: نَعَمْ. فَقَالَ: ﴿إِنَّ الَّذِي فرض عَلَيْك الْقُرْآن لرادك إِلَى معاد﴾ يَعْنِي إِلَى مَوْلِدِكَ الَّذِي خَرَجْتَ مِنْهُ، ظَاهِرًا عَلَى أَهْلِهِ ". ﴿قُلْ رَبِّي أَعْلَمُ مَنْ جَاءَ بِالْهُدَى﴾ أَيْ: مُحَمَّدٌ جَاءَ بِالْهُدَى، فَآمَنَ بِهِ الْمُؤْمِنُونَ (ل ٢٥٨) ﴿وَمن هُوَ﴾ أَيْ: أَعْلَمُ بِمَنْ هُوَ ﴿فِي ضلال مُبين﴾