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:54:2

And if they see a miracle, they turn away and say, "Passing magic."  

And if they, the disbelievers among Quraysh, see a sign, a miracle of the Prophet (s), they turn away and say, this is: ‘A powerful sorcery!’ (mustamirr, ‘powerful’, derives from al-mirra, meaning ‘strength’; or it ˹mustamirr˺ means ‘incessant’).
القرآن:٥٤:٢

وَإِنْ يَرَوْا آيَةً يُعْرِضُوا وَيَقُولُوا سِحْرٌ مُسْتَمِرٌّ  

{وإن يروْا} أي كفار قريش {آية} معجزة له ﷺ {يعرضوا ويقولوا} هذا {سحر مستمر} قوي من المرة: القوة أو دائم.