Aslam

Surah Qaf — 50:12
كَذَّبَتۡ قَبۡلَهُمۡ قَوۡمُ نُوحٖ وَأَصۡحَٰبُ ٱلرَّسِّ وَثَمُودُ
Before them, the people of Noah denied ˹the truth,˺ as did the people of the Water-pit, Thamûd,

Commentary

O Messenger! Before these people who have rejected you, many nations rejected their Prophets. The people of Noah, the people of The Well and the Thamud all denied their Prophets.

Read Tafsir Ibn Kathir