Sura An-Naml

27:42

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

Och när hon kom, tillfrågades hon: "Är det så din tron ser ut?" Hon svarade: "Den [jag ser här] är mycket lik den." Och [Salomo sade:] "Vi har fått kunskap före henne och vi har underkastat oss Guds vilja.

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.