wakadhālika
And thus
CONJ – prefixed conjunction wa (and) + P – prefixed preposition ka + DEM – masculine singular demonstrative pronoun
Root Link: ذ ل ك
makkannā
We established
V – 1st person plural (form II) perfect verb + PRON – 1st person plural object pronoun nā
Root Link: م ك ن
liyūsufa
[to] Yusuf
P – prefixed preposition lām + PN – genitive masculine proper noun
Root Link: ى س ف
min'hā
therein
P – preposition + PRON – 3rd person feminine singular object pronoun hā
Root Link: م ن
biraḥmatinā
Our Mercy
P – prefixed preposition bi + N – genitive feminine noun + PRON – 1st person plural object pronoun nā
Root Link: ر ح م
l-muḥ'sinīna
(of) the good-doers
DET – determiner prefix al + N – genitive masculine plural (form IV) active participle
Root Link: ح س ن