Abdel Haleem Word Analysis

then, when he came to the setting of the sun, he found it [seemed to be] setting into a muddy spring. Nearby he found some people and We said, ‘Dhu ’l-Qarnayn, you may choose [which of them] to punish or show kindness to.’
Abdel Haleem Arabic Root / Link Morphology
Until
حَتَّىٰٓ (ḥattā)
ح ت ى
Prep.
Prep
when
إِذَا (idhā)
إ ذ ا
Noun
Noun
he reached
بَلَغَ (balagha)
ب ل غ
Verb
V
(the) setting place
مَغْرِبَ (maghriba)
غ ر ب
Noun
Noun
(of) the sun
ٱلشَّمْسِ (l-shamsi)
ش م س
Noun
Noun
he found it
وَجَدَهَا (wajadahā)
و ج د
Verb
V
setting
تَغْرُبُ (taghrubu)
غ ر ب
Verb
V
in
فِى (fī)
ف ي
Prep.
Prep
a spring
عَيْنٍ (ʿaynin)
ع ي ن
Noun
Noun
(of) dark mud
حَمِئَةٍ (ḥami-atin)
ح م أ
Noun
Noun
and he found
وَوَجَدَ (wawajada)
و ج د
Verb
V
near it
عِندَهَا (ʿindahā)
ع ن د
Noun
Noun
a community
قَوْمًا (qawman)
ق و م
Noun
Noun
We said
قُلْنَا (qul'nā)
ق و ل
Verb
V
O Dhul-qarnain
يَٰذَا (yādhā)
ذ و
Noun
Noun
O Dhul-qarnain
ٱلْقَرْنَيْنِ (l-qarnayni)
ق ر ن
Noun
Noun
Either
إِمَّآ (immā)
إ م ا
Prep.
Prep
[that]
أَن (an)
أ ن
Prep.
Prep
you punish
تُعَذِّبَ (tuʿadhiba)
ع ذ ب
Verb
V
or
وَإِمَّآ (wa-immā)
إ م ا
Prep.
Prep
[that]
أَن (an)
أ ن
Prep.
Prep
you take
تَتَّخِذَ (tattakhidha)
أ خ ذ
Verb
V
[in] them
فِيهِمْ (fīhim)
ف ي
Prep.
Prep
(with) goodness
حُسْنًا (ḥus'nan)
ح س ن
Noun
Noun