حَتّٰٓى اِذَاۤ اَتَوۡا عَلٰى وَادِ النَّمۡلِۙ قَالَتۡ نَمۡلَةٌ يّٰۤاَيُّهَا النَّمۡلُ ادۡخُلُوۡا مَسٰكِنَكُمۡۚ لَا يَحۡطِمَنَّكُمۡ سُلَيۡمٰنُ وَجُنُوۡدُهٗۙ وَهُمۡ لَا يَشۡعُرُوۡنَ(النمل :18)
Hatta itha ataw 'ala wadi alnnamli qalat namlatun ya ayyuha alnnamlu odkhuloo masakinakum la yahtimannakum sulaymanu wajunooduhu wahum la yash'uroona
Sahih International:
Until, when they came upon the valley of the ants, an ant said, "O ants, enter your dwellings that you not be crushed by Solomon and his soldiers while they perceive not."
فَتَبَسَّمَ ضَاحِكًا مِّنۡ قَوۡلِهَا وَقَالَ رَبِّ اَوۡزِعۡنِىۡۤ اَنۡ اَشۡكُرَ نِعۡمَتَكَ الَّتِىۡۤ اَنۡعَمۡتَ عَلَىَّ وَعَلٰى وَالِدَىَّ وَاَنۡ اَعۡمَلَ صَالِحًـا تَرۡضٰٮهُ وَاَدۡخِلۡنِىۡ بِرَحۡمَتِكَ فِىۡ عِبَادِكَ الصّٰلِحِيۡنَ(النمل :19)
Fatabassama dahikan min qawliha waqala rabbi awzi'nee an ashkura ni'mataka allatee an'amta 'alayya wa'ala walidayya waan a'mala salihan tardahu waadkhilnee birahmatika fee 'ibadika alssaliheena
Sahih International:
So [Solomon] smiled, amused at her speech, and said, "My Lord, enable me to be grateful for Your favor which You have bestowed upon me and upon my parents and to do righteousness of which You approve. And admit me by Your mercy into [the ranks of] Your righteous servants."
Complete Indexing of Quran Topics
We have indexed and found 2 verses about or related to (including the word(s)) "Solomon,and the ants".
For your information, the verses as described above: