Surah An-Naml

27:42

فَلَمَّا جَآءَتْ قِيلَ أَهَٰكَذَا عَرْشُكِ ۖ قَالَتْ كَأَنَّهُۥ هُوَ ۚ وَأُوتِينَا ٱلْعِلْمَ مِن قَبْلِهَا وَكُنَّا مُسْلِمِينَ

So when she arrived, it was said [to her], "Is your throne like this?" She said, "[It is] as though it was it." [Solomon said], "And we were given knowledge before her, and we have been Muslims [in submission to Allah].

Tafsir 27:42

So when the queen of Sheba came to Solomon, it was said to her to test her: “Is this how your throne is?” She answered according to the question: “It is as though it was that”. Allah has granted us knowledge before her and we were submitting to Allah’s order and obeying Him.