Sure Az-Zumar

39:18

ٱلَّذِينَ يَسْتَمِعُونَ ٱلْقَوْلَ فَيَتَّبِعُونَ أَحْسَنَهُۥٓ ۚ أُو۟لَٰٓئِكَ ٱلَّذِينَ هَدَىٰهُمُ ٱللَّهُ ۖ وَأُو۟لَٰٓئِكَ هُمْ أُو۟لُوا۟ ٱلْأَلْبَٰبِ

die auf das Wort hören und dann dem Besten davon folgen. Das sind diejenigen, die Allah rechtleitet, und das sind diejenigen, die Verstand besitzen.

Tafsir 39:18

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.