Surah Sad 38:34
وَلَقَدْ فَتَنَّا سُلَيْمَـٰنَ وَأَلْقَيْنَا عَلَىٰ كُرْسِيِّهِۦ جَسَدًا ثُمَّ أَنَابَ
And We certainly tried Solomon and placed on his throne a body; then he returned.
Translation: Saheeh International
Tafsir
And We certainly tried Solomon We tested him by wresting his kingdom from him because he had married a woman solely out of his desire for her. She used to worship idols in his own home without his knowledge. Now control of his kingdom lay in his ring. …
Excerpt from Tafsir al-Jalalayn, commentary on 38:34, via Quran.com. The reader has the full commentary and 9 more tafsirs.