Surah Az-Zumar
Az-Zumar 39:18
Ayah 18 of 75
ٱلَّذِينَ يَسۡتَمِعُونَ ٱلۡقَوۡلَ فَيَتَّبِعُونَ أَحۡسَنَهُۥٓۚ أُوْلَـٰٓئِكَ ٱلَّذِينَ هَدَىٰهُمُ ٱللَّهُۖ وَأُوْلَـٰٓئِكَ هُمۡ أُوْلُواْ ٱلۡأَلۡبَٰبِ
Who listen to speech and follow the best of it. Those are the ones Allah has guided, and those are people of understanding
Transliteration
Allatheena yastamiʿoona alqawla fayattabiʿoona ahsanahu olaika allatheena hadahumu Allahu waolaika hum oloo alalbabi
Read the whole surah from here
Quran text: Tanzil (tanzil.net). Translation: Saheeh International. Recitation: Sheikh Mahmoud Khalil al-Husary.