[Machine] The Prophet ﷺ stayed in Mecca for ten years, then descended [to the verse]: "{Say: 'My Lord, admit me with an entrance of truth and exit me with an exit of truth.'}" Then, he migrated to Medina.
مَكَثَ النَّبِيُّ ﷺ عَشْرَ سِنِينَ بِمَكَّةَ فَنَزَلَتْ {قُلْ رَبِّ أَدْخِلْنِي مُدْخَلَ صِدْقٍ وَأَخْرِجْنِي مُخْرَجَ صِدْقٍ} فَهَاجَرَ إِلَى الْمَدِينَةِ