فَلَمَّا جَآءَتْ قِيلَ أَهَٰكَذَا عَرْشُكِ ۖ قَالَتْ كَأَنَّهُۥ هُوَ ۚ وَأُوتِينَا ٱلْعِلْمَ مِن قَبْلِهَا وَكُنَّا مُسْلِمِينَ
Sura An-Naml
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.