Question:
Did the Jews say that Solomon, son of David, was a sorcerer?
Answer:
When the mention of Solomon (peace be upon him) was revealed in the Noble Quran, the Jews of Medina said: Does it not astonish you that Muhammad ﷺ calls Solomon, son of David, a prophet? By Allah! He (Solomon, peace be upon him) was only a sorcerer. So Allah, the Exalted, then revealed this noble verse, in which He mentioned the clearing of Solomon (peace be upon him) of this charge:
وَمَا كَفَرَ سُلَيْمَانُ وَلَـٰكِنَّ الشَّيَاطِينَ كَفَرُوا
And Solomon did not disbelieve, but the devils disbelieved.
Reference: Al-Baqarah: 102