Al-Furqan - 25:38

وَعَادًا وَثَمُودَ وَأَصْحَابَ الرَّسِّ وَقُرُونًا بَيْنَ ذَلِكَ كَثِيراً
[25:38]
And Ad and Samood and the dwellers of the Rass and many generations between them.
As also 'Ad and Thamud, and the Companions of the Rass, and many a generation between them.
And (the tribes of) A'ad and Thamud, and the dwellers in Ar-Rass, and many generations in between.