أُوْلَئِكَ الَّذِينَ حَقَّ عَلَيْهِمُ الْقَوْلُ فِي أُمَمٍ قَدْ خَلَتْ مِن قَبْلِهِم مِّنَ الْجِنِّ وَالْإِنسِ إِنَّهُمْ كَانُوا خَاسِرِينَ
﴿١٨﴾
سورة الأحقاف
(46/18) Those are they upon whom hath been justified the saying about the communities of the Jinn and mankind who have passed away before them; verily they are ever the losers.
Surah Al-Ahqaf