8:30
وَإِذْ يَمْكُرُ بِكَ ٱلَّذِينَ كَفَرُوا۟ لِيُثْبِتُوكَ أَوْ يَقْتُلُوكَ أَوْ يُخْرِجُوكَ ۚ وَيَمْكُرُونَ وَيَمْكُرُ ٱللَّهُ ۖ وَٱللَّهُ خَيْرُ ٱلْمَـٰكِرِينَ
wa-idh yamkuru bika alladhīna kafarū liyuth'bitūka aw yaqtulūka aw yukh'rijūka wayamkurūna wayamkuru l-lahu wal-lahu khayru l-mākirīna
Remember [Prophet] when the disbelievers plotted to take you captive, kill, or expel you. They schemed and so did God: He is the best of schemers.
And (remember) when the disbelievers plotted against you (O Muhammad صلى الله عليه وسلم) to imprison you, or to kill you, or to get you out (from your home, i.e. Makkah); they were plotting and Allâh too was plotting; and Allâh is the Best of those who plot.