Surah Az-Zumar, Ayah 18
Quran 39:18 · The Troops · Makki · Para 23 · Page 460
الَّذِیْنَ یَسْتَمِعُوْنَ الْقَوْلَ فَیَتَّبِعُوْنَ اَحْسَنَهٗ ؕ اُولٰٓىِٕكَ الَّذِیْنَ هَدٰىهُمُ اللّٰهُ وَاُولٰٓىِٕكَ هُمْ اُولُوا الْاَلْبَابِ ۟
Transliteration
Allatheena yastamiAAoona alqawlafayattabiAAoona ahsanahu ola-ika allatheenahadahumu Allahu waola-ika hum oloo al-albab
Saheeh International
Who listen to speech and follow the best of it. Those are the ones Allāh has guided, and those are people of understanding.
Al-Mukhtasar fi Tafsir
Those who listen to what is said, distinguish between good and evil, and follow the best speech because of the benefit it contains. Those who possess these attributes are the ones whom Allah has given guidance and they are the ones who have sound intellect.
Tafsir Ibn Kathir (abridged)
Explains 39:17–39:18 together — read it on 39:17