Aslam

Surah An-Naml — 27:43
وَصَدَّهَا مَا كَانَت تَّعۡبُدُ مِن دُونِ ٱللَّهِۖ إِنَّهَا كَانَتۡ مِن قَوۡمٖ كَٰفِرِينَ
But she had been hindered by what she used to worship instead of Allah, for she was indeed from a disbelieving people.

Commentary

And she was turned away from the Oneness of Allah by what she used to worship besides Allah, in following her people and blindly imitating them. She was amongst the people who disbelieve in Allah, so she was a disbeliever like them.

Read Tafsir Ibn Kathir