Surah Al-A'raaf

7:120

وَأُلْقِىَ ٱلسَّحَرَةُ سَٰجِدِينَ

And the magicians fell down in prostration [to Allah].

Tafsir 7:120

When the magicians saw the greatness of the power of Allah, and his clear signs, they could only fall down, prostrating to Him.