Surah An-Naml, Ayah 15 (27:15)
وَلَقَدۡ ءَاتَيۡنَا دَاوُۥدَ وَسُلَيۡمَٰنَ عِلۡمٗاۖ وَقَالَا ٱلۡحَمۡدُ لِلَّهِ ٱلَّذِي فَضَّلَنَا عَلَىٰ كَثِيرٖ مِّنۡ عِبَادِهِ ٱلۡمُؤۡمِنِينَ ١٥
Arabic: King Fahd Complex Hafs text.
English translation
15. And indeed We gave knowledge to Dâwûd (David) and Sulaimân (Solomon), and they both said: "All the praises and thanks be to Allâh, Who has preferred us above many of His believing slaves!"
Hilali and Khan (QuranEnc.com)