Surah Al-Anfaal

8:30

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

And [remember, O Muhammad], when those who disbelieved plotted against you to restrain you or kill you or evict you [from Makkah]. But they plan, and Allah plans. And Allah is the best of planners.

Tafsir 8:30

Remember, O Messenger, when the idolaters joined forces against you, plotting to kill or imprison you, or to drive you out of your homeland to another place. They plotted, and Allah turned their plot upon themselves, and Allah plans, and He is the best of planners.