Sure Al-Anfaal

8:30

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

Und als diejenigen, die ungläubig sind, gegen dich Ränke schmiedeten, um dich festzusetzen oder zu töten oder zu vertreiben. Sie schmiedeten Ränke, und (auch) Allah schmiedete Ränke. Aber Allah ist der beste Ränkeschmied.

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.