Surah Sad, Ayah 32
Quran 38:32 · The Letter "Saad" · Makki · Para 23 · Page 455
فَقَالَ اِنِّیْۤ اَحْبَبْتُ حُبَّ الْخَیْرِ عَنْ ذِكْرِ رَبِّیْ ۚ حَتّٰی تَوَارَتْ بِالْحِجَابِ ۟ۥ
Transliteration
Faqala innee ahbabtu hubbaalkhayri AAan thikri rabbee hatta tawaratbilhijab
Saheeh International
And he said, "Indeed, I gave preference to the love of good [things] over the remembrance of my Lord until it [i.e., the sun] disappeared into the curtain [of darkness]."
Al-Mukhtasar fi Tafsir
So Solomon said: “I preferred love of wealth, these horses being part of it, over the remembrance of my Lord until the sun set.
Tafsir Ibn Kathir (abridged)
Explains 38:30–38:33 together — read it on 38:30