Dalil

Quran Ash-Shu'ara 26:40

لَعَلَّنَا نَتَّبِعُ ٱلسَّحَرَةَ إِن كَانُواْ هُمُ ٱلۡغَٰلِبِينَ

Translation

That we might follow the magicians if they are the predominant?"