qablahum
before them
T – accusative time adverb + PRON – 3rd person masculine plural object pronoun Ha
Root Link: ق ب ل
wa-aṣḥābu
and (the) companions
CONJ – prefixed conjunction wa (and) + N – nominative masculine plural noun
Root Link: ص ح ب
wathamūdu
and Thamud
CONJ – prefixed conjunction wa (and) + PN – nominative proper noun
Root Link: ث م د