Surah Yusuf Ayah 22
وَلَمَّا بَلَغَ أَشُدَّهُۥٓ ءَاتَيْنَٰهُ حُكْمًۭا وَعِلْمًۭا ۚ وَكَذَٰلِكَ نَجْزِى ٱلْمُحْسِنِينَTransliteration: Wa lammaa balagha ashuddahooo aatainaahu bukmanw wa 'ilmaa; wa kazaa lika najzil muhsineen
English Translation (Saheeh International): And when Joseph reached maturity, We gave him judgment and knowledge. And thus We reward the doers of good.