Surah [27] An-Naml : 18

حَتّٰٓى اِذَاۤ اَتَوۡا عَلٰى وَادِ النَّمۡلِۙ قَالَتۡ نَمۡلَةٌ يّٰۤاَيُّهَا النَّمۡلُ ادۡخُلُوۡا مَسٰكِنَكُمۡ‌ۚ لَا يَحۡطِمَنَّكُمۡ سُلَيۡمٰنُ وَجُنُوۡدُهٗۙ وَهُمۡ لَا يَشۡعُرُوۡنَ‏(النمل :18)

حَتَّىٰٓ
Until
إِذَآ
when
أَتَوْا۟
they came
عَلَىٰ
to
وَادِ
(the) valley
ٱلنَّمْلِ
(of) the ants
قَالَتْ
said
نَمْلَةٌ
an ant
يَٰٓأَيُّهَا
"O
ٱلنَّمْلُ
ants!
ٱدْخُلُوا۟
Enter
مَسَٰكِنَكُمْ
your dwellings
لَا
lest not crush you
يَحْطِمَنَّكُمْ
lest not crush you
سُلَيْمَٰنُ
Sulaiman
وَجُنُودُهُۥ
and his hosts
وَهُمْ
while they
لَا
(do) not perceive"
يَشْعُرُونَ
(do) not perceive"

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."

Tafsir (More Translations)
Surah [27] An-Naml : 19

فَتَبَسَّمَ ضَاحِكًا مِّنۡ قَوۡلِهَا وَقَالَ رَبِّ اَوۡزِعۡنِىۡۤ اَنۡ اَشۡكُرَ نِعۡمَتَكَ الَّتِىۡۤ اَنۡعَمۡتَ عَلَىَّ وَعَلٰى وَالِدَىَّ وَاَنۡ اَعۡمَلَ صَالِحًـا تَرۡضٰٮهُ وَاَدۡخِلۡنِىۡ بِرَحۡمَتِكَ فِىۡ عِبَادِكَ الصّٰلِحِيۡنَ(النمل :19)

فَتَبَسَّمَ
So he smiled -
ضَاحِكًا
laughing
مِّن
at
قَوْلِهَا
her speech
وَقَالَ
and said
رَبِّ
"My Lord!
أَوْزِعْنِىٓ
Grant me (the) power
أَنْ
that
أَشْكُرَ
I may thank You
نِعْمَتَكَ
(for) Your Favor
ٱلَّتِىٓ
which
أَنْعَمْتَ
You have bestowed
عَلَىَّ
on me
وَعَلَىٰ
and on
وَٰلِدَىَّ
my parents
وَأَنْ
and that
أَعْمَلَ
I may do
صَٰلِحًا
righteous (deeds)
تَرْضَىٰهُ
that will please You
وَأَدْخِلْنِى
And admit me
بِرَحْمَتِكَ
by Your Mercy
فِى
among
عِبَادِكَ
Your slaves
ٱلصَّٰلِحِينَ
righteous"

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."

Tafsir (More Translations)

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: