Surah Al-Israa

17:76

وَإِن كَادُوا۟ لَيَسْتَفِزُّونَكَ مِنَ ٱلْأَرْضِ لِيُخْرِجُوكَ مِنْهَا ۖ وَإِذًۭا لَّا يَلْبَثُونَ خِلَٰفَكَ إِلَّا قَلِيلًۭا

And indeed, they were about to drive you from the land to evict you therefrom. And then [when they do], they will not remain [there] after you, except for a little.

Tafsir 17:76

And the disbelievers were close to troubling you, due to their enmity towards you, to exile you from Makkah. However, Allah stopped them from exiling you until you yourself migrated on the command of your Lord. And had they exiled you, they would not have remained after exiling you except for a short while.