Surah Al-A'raaf

7:117

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

And We inspired to Moses, "Throw your staff," and at once it devoured what they were falsifying.

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.