Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:3:54

And the disbelievers planned, but Allah planned. And Allah is the best of planners.  

God says: And they, the disbelievers among the Children of Israel, schemed, against Jesus, by assigning someone to assassinate him; and God schemed, by casting the likeness of Jesus onto the person who intended to kill him, and so they killed him, while Jesus was raised up into heaven; and God is the best of schemers, most knowledgeable of him ˹Jesus˺.
القرآن:٣:٥٤

وَمَكَرُوا وَمَكَرَ اللَّهُ ۖ وَاللَّهُ خَيْرُ الْمَاكِرِينَ  

قال تعالى: {ومكروا} أي كفار بني إسرائيل بعيسى إذ وكلوا به من يقتله غيلة {ومكر الله} بهم بأن ألقى شبه عيسى على من قصد قتله فقتلوه ورفُع عيسى إلى السماء {والله خير الماكرين} أعلمهم به.