An-Naml • EN-TAFSIR-IBN-ABBAS
﴿ وَصَدَّهَا مَا كَانَت تَّعْبُدُ مِن دُونِ ٱللَّهِ ۖ إِنَّهَا كَانَتْ مِن قَوْمٍۢ كَٰفِرِينَ ﴾
“[And she has recognized the truth] although that which she has been wont to worship instead of God had kept her away [from the right path]: for, behold, she is descended of people who deny the truth!””
(And (all) that she was wont to worship) the sun (instead of Allah hindered her) Solomon stopped her; it is also said that this means: Allah stopped her, (for she came of disbelieving folk) her folk were Zoroastrians.