And when they came across a valley of ants, an ant warned, “O ants! Go quickly into your homes so Solomon and his armies do not crush you, unknowingly.”So Solomon smiled in amusement at her words, and prayed, “My Lord! Inspire me to ˹always˺ be thankful for Your favours which You have blessed me and my parents with, and to do good deeds that please you. Admit me, by Your mercy, into ˹the company of˺ Your righteous servants.”Quran 27:18~19 (Surah an-Naml)
Surah Naml is named after ‘the Ant’ mentioned in (27:18). This is the only mention of ‘the Ant’ in the whole of the Qur’an.
There are 93 Ayat in this Surah.
click the button above to listen to the recitation of these Quranic verses again
حَتَّىٰۤ إِذَاۤ أَتَوۡا۟ عَلَىٰ وَادِ ٱلنَّمۡلِ قَالَتۡ نَمۡلَةࣱ 
یَـٰۤأَیُّهَا ٱلنَّمۡلُ ٱدۡخُلُوا۟ مَسَـٰكِنَكُمۡ لَا یَحۡطِمَنَّكُمۡ سُلَیۡمَـٰنُ وَجُنُودُهُۥ وَهُمۡ لَا یَشۡعُرُونَ 
فَتَبَسَّمَ ضَاحِكࣰا مِّن قَوۡلِهَا وَقَالَ 
رَبِّ أَوۡزِعۡنِیۤ أَنۡ أَشۡكُرَ نِعۡمَتَكَ ٱلَّتِیۤ أَنۡعَمۡتَ عَلَیَّ وَعَلَىٰ وَ ٰلِدَیَّ 
وَأَنۡ أَعۡمَلَ صَـٰلِحࣰا تَرۡضَىٰهُ وَأَدۡخِلۡنِی بِرَحۡمَتِكَ فِی عِبَادِكَ ٱلصَّـٰلِحِینَ
The theme of the Surah is divine guidance in history.
Allah sent His Prophets to different people. Some accepted them and were guided,
while others denied them and they saw the consequences of their denial.
The Surah also contrasts between the principles of Tawhid and shirk.
Sections:
The Qur’an is from the All Wise and All-knower. How did Prophet Moses received the message of Allah. Allah gave Moses many signs but Pharaoh and his people denied them.
The knowledge and power that Allah bestowed on Prophets David and Solomon. What kind of character they had.
Queen of Saba’ and her submission to Prophet Solomon.
The response of Thamud to Prophet Saleh’s message. Also the example of the people among whom Prophet Lot was sent.
The contrast between the tawhid and shirk. Allah or the so-called gods of Shirk.
The surety of Resurrection.
The coming of the Day of Judgment.