Abu Saeed Khudri reported,

He traced it back to the Prophet ﷺ, who said, "Allah تبارك وتعالى never destroyed a people with a punishment from the sky or from the earth except before Musa." Then he recited, "And We did indeed give Musa the Scripture after We had destroyed the earlier generations" [Qasas 28:43].

Azami 12964

Sahih

عن أبي سعيد الخدري

رفعه إلى النبي ﷺ قال: ما أهلك الله تبارك وتعالى قوما بعذاب من السماء ولا من الأرض إلا قبل موسى، ثم قال: {ولقد آتينا موسى الكتاب من بعد ما أهلكنا القرون الأولى}.

الأعظمي 12964صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Qasas
Section
His saying, "And We gave Musa the Scripture and followed him with messengers, and We gave Isa son of Maryam clear proofs and supported him with a spirit"
Numbering
Jami al-Kamil 12964 (2nd edition)
Azami 12964