How did the Pharaoh punish the wizards who believed in the Lord of the worlds?
He cut off their opposing hands and feet, and then crucifying them.
And the wizards fell down prostrate, Crying: We believe in the Lord of the Worlds
Pharaoh said ... Surely I shall have your hands and feet cut off upon alternate sides. Then I shall crucify you.
Quran 7:120-4
(This is the same punishment that Allah gave for those who war with him or his messenger, Muhammad.
See Quran 5:33.
5:33