Surah Sad 38:13
وَثَمُودُ وَقَوْمُ لُوطٍ وَأَصْحَـٰبُ لْـَٔيْكَةِ ۚ أُو۟لَـٰٓئِكَ ٱلْأَحْزَابُ
And [the tribe of] Thamūd and the people of Lot and the companions of the thicket [i.e., people of Madyan]. Those are the companies.
Translation: Saheeh International
Tafsir
and Thamūd and the people of Lot and the dwellers in the wood a small forest namely the people of Shu‘ayb peace be upon him — those were the factions.
Excerpt from Tafsir al-Jalalayn, commentary on 38:13, via Quran.com. The reader has the full commentary and 9 more tafsirs.