Sura Al-A'raaf

7:117

۞ وَأَوْحَيْنَآ إِلَىٰ مُوسَىٰٓ أَنْ أَلْقِ عَصَاكَ ۖ فَإِذَا هِىَ تَلْقَفُ مَا يَأْفِكُونَ

[Då] ingav Vi Moses att kasta sin stav, och den slukade alla synvillor som [trollkarlarna] hade manat fram.

Tafsir 7:117

Allah then inspired Prophet Moses (peace be upon him): 'Throw your stick O Moses!' So he threw it and the stick changed into a snake and swallowed the ropes and sticks the magicians were using instead of real snakes; destroying for the people the illusion that these were crawling snakes.