The days passed and Joseph grew. Almighty Allah said: And when he (Joseph) attained his full manhood. We gave him wisdom and knowledge (the Prophethood), thus We reward the doers of good. Surah 12: 22
He was given wisdom in affairs and knowledge of life and its conditions. He was given the art of conversation, captivating those who heard him. He was given nobility and self-restraint, which made him an irresistible personality. His master soon knew that Allah had graced him with Joseph. He understood that Joseph was the most honest, straightforward and noble person he had met in his life. Therefore, he put Joseph in charge of his household, honored him, and treated him as a son.
Related Quran Ayaaths of this Hadith.
Surah 6 : Ayah 84 Surah 12 : Ayah 96 Surah 12 : Ayah 99 Surah 12 : Ayah 100 Surah 12 : Ayah 102 Surah 12 : Ayah 111"When a person dies, his works end, except for three: ongoing charity, knowledge that is benefited from, and a righteous child who prays for him."
Prophet Mohammed (PBUH)
"The best of what a man leaves behind are three: a righteous child who supplicates for him, ongoing charity the reward of which reaches him, and knowledge that is acted upon after him."
Sunan Ibn Mājah
"Every day two angels come down from Heaven and one of them says, 'O Allah! Compensate every person who spends in Your Cause,' and the other (angel) says, 'O Allah! Destroy every miser.'"
Sahih Bukhari