واتبعوا ما تتلوا الشياطين على ملك سليمان. وَاتَّبَعُواْ مَا تَتْلُواْ الشَّيَاطِينُ عَلَى مُلْكِ سُلَيْمَانَ وَمَا كَفَرَ سُلَيْمَانُ وَلَـكِنَّ الشَّيْاطِينَ كَفَرُواْ

Allah, gloried and exalted is He, absolved Solomon of this deed and revealed this verseヤ 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
it replied: I am for the purpose of destroying your sanctuary! ' When Solomon died and the scholars who knew the truth about Solomon perished, there came another generation They would convey this news to the soothsayers, and the soothsayers would in turn convey the news to the people

When Muhammad came, they disputed with him relying on these books.

30
تفسير الإمام العسكري (ع)
When the person who came to learn magic still insisted on learning it, they commanded him to go to such and such place, where if he went, Satan would meet him and teach him magic
2vs102
Allah's Appointed Term supercedes Everything Allah said,
هاروت وماروت
When Solomon died and all those who knew the incident of burying these writings then passed away after him, a devil appeared in the shape of a human and went to a group among the Children of Israel
But neither of these taught anyone Such things without saying: "We are only for trial; so do not blaspheme Soon after, the Children of Israel said that the Jinns know matters of the Unseen
'' Al-Hasan Al-Basri said that this Ayah means, "The angels were sent with magic, so that the people whom Allah willed would be tried and tested And they learned what harmed them, not what profited them

After which they said [to the people]: We will direct to that with which Solomon used to treat others.

8
واتبعوا ما تتلوا الشياطين على ملك سليمان وما كفر سليمان ولكن الشياطين . [ البقرة: 102]
إعراب القرآن للدعاس
When the Carob tree al-Khurnubah grew, he asked it: What are you for? '' Al-Hasan Al-Basri said that this Ayah means, "The angels were sent with magic, so that the people whom Allah willed would be tried and tested
altavideo1.com
He showed his innocence from what he was blamed for And follow that which the devils falsely related against the kingdom of Solomonナ ヤ
They would convey this news to the soothsayers, and the soothsayers would in turn convey the news to the people
meaning, "The Jews who preferred magic over following the Messenger of Allah knew that those who commit the same error shall have no Khalaq in the Hereafter I will wait for you here, and if you do not find the treasure then kill me

The tree would say: This and that! And follow that which the devils falsely related against the kingdom of Solomon.

altavideo1.com
Allah also exonerated Solomon from practicing magic, which the devils taught to the people of Babylon by the hands of two men, Harut and Marut
مقارنة الآيات بالروايات
Solomon took all that which was written of magic, put it in a chest and buried it under his throne after he warned them against it
تفسير الميزان
The children of Israel used those writings from then on, and it is for this reason that one finds magic more widespread among the Jews