Surah Yusuf 12:56
وَكَذَٰلِكَ مَكَّنَّا لِيُوسُفَ فِى ٱلْأَرْضِ يَتَبَوَّأُ مِنْهَا حَيْثُ يَشَآءُ ۚ نُصِيبُ بِرَحْمَتِنَا مَن نَّشَآءُ ۖ وَلَا نُضِيعُ أَجْرَ ٱلْمُحْسِنِينَ
And thus We established Joseph in the land to settle therein wherever he willed. We touch with Our mercy whom We will, and We do not allow to be lost the reward of those who do good.
Translation: Saheeh International
Tafsir
Thus in the same way that We were graceful towards Him by delivering him from prison We established Joseph in the land the land of Egypt that he may settle in it wherever he wished after having suffered hardship and imprisonment. …
Excerpt from Tafsir al-Jalalayn, commentary on 12:56, via Quran.com. The reader has the full commentary and 9 more tafsirs.