Surah Al-Hajj

22:42

وَإِن يُكَذِّبُوكَ فَقَدْ كَذَّبَتْ قَبْلَهُمْ قَوْمُ نُوحٍۢ وَعَادٌۭ وَثَمُودُ

And if they deny you, [O Muhammad] - so, before them, did the people of Noah and 'Aad and Thamud deny [their prophets],

Tafsir 22:42

O Messenger, if your people reject you, be patient. You are not the first messenger to be rejected by his people. Before your people, the people of Noah rejected Noah, Aad rejected Hud and Thamud rejected Salih.