وَاتَّبَعُوا مَا تَتْلُوا الشَّیَاطٖینُ عَلٰى مُلْكِ سُلَیْمٰنَۚ وَمَا كَفَرَ سُلَیْمٰنُ وَلٰكِنَّ الشَّیَاطٖینَ كَفَرُوا یُعَلِّمُونَ النَّاسَ السِّحْرَࣗ وَمَٓا اُنْزِلَ عَلَى الْمَلَكَیْنِ بِبَابِلَ هَارُوتَ وَمَارُوتَؕ وَمَا یُعَلِّمَانِ مِنْ اَحَدٍ حَتّٰى یَقُولَٓا اِنَّمَا نَحْنُ فِتْنَةٌ فَلَا تَكْفُرْؕ فَیَتَعَلَّمُونَ مِنْهُمَا مَا یُفَرِّقُونَ بِهٖ بَیْنَ الْمَرْءِ وَزَوْجِهٖؕ وَمَا هُمْ بِضَٓارّٖینَ بِهٖ مِنْ اَحَدٍ اِلَّا بِاِذْنِ اللّٰهِؕ وَیَتَعَلَّمُونَ مَا یَضُرُّهُمْ وَلَا یَنْفَعُهُمْؕ وَلَقَدْ عَلِمُوا لَمَنِ اشْتَرٰیهُ مَا لَهُ فِی الْاٰخِرَةِ مِنْ خَلَاقٍࣞ وَلَبِئْسَ مَا شَرَوْا بِهٖٓ اَنْفُسَهُمْؕ لَوْ كَانُوا یَعْلَمُونَ
WaittabaAAoo ma tatloo alshshayateenu AAala mulki sulaymana wama kafara sulaymanu walakinna alshshayateena kafaroo yuAAallimoona alnnasa alssihra wama onzila AAala almalakayni bibabila haroota wamaroota wama yuAAallimani min ahadin hatta yaqoola innama nahnu fitnatun fala takfur fayataAAallamoona minhuma ma yufarriqoona bihi bayna almari wazawjihi wama hum bidarreena bihi min ahadin illa biithni Allahi wayataAAallamoona ma yadurruhum wala yanfaAAuhum walaqad AAalimoo lamani ishtarahu ma lahu fee alakhirati min khalaqin walabisa ma sharaw bihi anfusahum law kanoo yaAAlamoona
Translations
And they followed [instead] what the devils had recited during the reign of Solomon. It was not Solomon who disbelieved, but the devils disbelieved, teaching people magic and that which was revealed to the two angels at Babylon, Harut and Marut. But the two angels do not teach anyone unless they say, "We are a trial, so do not disbelieve [by practicing magic]." And [yet] they learn from them that by which they cause separation between a man and his wife. But they do not harm anyone through it except by permission of Allah. And the people learn what harms them and does not benefit them. But the Children of Israel certainly knew that whoever purchased the magic would not have in the Hereafter any share. And wretched is that for which they sold themselves, if they only knew
Saheeh International
And follow that which the devils falsely related against the kingdom of Solomon. Solomon disbelieved not; but the devils disbelieved, teaching mankind magic and that which was revealed to the two angels in Babel, Harut and Marut. Nor did they (the two angels) teach it to anyone till they had said: We are only a temptation, therefore disbelieve not (in the guidance of Allah). And from these two (angles) people learn that by which they cause division between man and wife; but they injure thereby no-one save by Allah's leave. And they learn that which harmeth them and profiteth them not. And surely they do know that he who trafficketh therein will have no (happy) portion in the Hereafter; and surely evil is the price for which they sell their souls, if they but knew
Marmaduke Pickthall