Surah Qaaf

50:37

إِنَّ فِى ذَٰلِكَ لَذِكْرَىٰ لِمَن كَانَ لَهُۥ قَلْبٌ أَوْ أَلْقَى ٱلسَّمْعَ وَهُوَ شَهِيدٌۭ

Indeed in that is a reminder for whoever has a heart or who listens while he is present [in mind].

Tafsir 50:37

In that destruction of the previous nations which has been mentioned are a reminder and lesson for one who has a heart to understand with, or who listens attentively with presence of mind, and not absentmindedly.