And the one from Egypt1 who bought him said to his wife, "Make his residence comfortable. Perhaps he will benefit us, or we will adopt him as a son." And thus, We established Joseph in the land that We might teach him the interpretation of events [i.e., dreams]. And Allāh is predominant over His affair, but most of the people do not know.
Translation: Saheeh International (English)
1 The minister in charge of supplies, whose title was al-ʿAzeez.
وَلِنُعَلِّمَهُۥthat We might teach himwalinuʿallimahu
مِن(the) interpretation ofmin
تَأۡوِيلِ(the) interpretation oftawīli
ٱلۡأَحَادِيثِۚthe eventsl-aḥādīthi
وَٱللَّهُAnd Allahwal-lahu
غَالِبٌ(is) Predominantghālibun
عَلَىٰٓoverʿalā
أَمۡرِهِۦHis affairsamrihi
وَلَٰكِنَّbutwalākinna
أَكۡثَرَmostakthara
ٱلنَّاسِ(of) the peoplel-nāsi
لَا(do) notlā
يَعۡلَمُونَknowyaʿlamūna
Tafsir
The man from Egypt who had purchased him said to his wife, ‘Be good to him and look after him well. He may benefit us by doing some of the things we need, or we may adopt him as a child’. Just as I saved Joseph from being killed, removed him from the well and made the heart of the minister soft towards him, I established him in Egypt, to teach him the interpretation of dreams. Allah is in full control of His affair, and His affair will come into effect. No one can compel Him, may He be glorified; but most people – who are actually disbelievers – do not know that.