Surah Taha, ayah 61

20:61

قَالَ لَهُم مُّوسَىٰ وَيۡلَكُمۡ لَا تَفۡتَرُواْ عَلَى ٱللَّهِ كَذِبٗا فَيُسۡحِتَكُم بِعَذَابٖۖ وَقَدۡ خَابَ مَنِ ٱفۡتَرَىٰ ٦١

Qāla lahum mūsā waylakum lā taftarū 'alallāhi kadhiban fayushitakum bi'adhābin waqad khāba maniftarā

Moses said to them [i.e., the magicians summoned by Pharaoh], "Woe to you! Do not invent a lie against Allāh or He will exterminate you with a punishment; and he has failed who invents [such falsehood]."