It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) concerning the saying of Allah Almighty: "And they followed what the devils recited during the reign of Sulayman." He (may Allah be pleased with them both) said: "This refers to the scrolls which they had buried (beneath the throne of Sulayman, peace be upon him)." "And Sulayman did not disbelieve, but the devils disbelieved, teaching people magic." So Allah Almighty revealed the exoneration of Sulayman (peace be upon him) in this verse.