Ibn Al-Qayyim, rahimahullaah, said:
“When Allah granted Prophet Yoosuf (`alayhis-Salaam) physical beauty it caused him to be locked up in the prison; but when Allah granted him knowledge (when he interpreted the dream of the king) it not only took him out of prison, but elevated his rank in society, clearly showing us the virtue of knowledge and that physical beauty does not mean anything.”
Al-‘Ilm wa Fadhluhu wa Sharafuhu p. 32
“When Allah granted Prophet Yoosuf (`alayhis-Salaam) physical beauty it caused him to be locked up in the prison; but when Allah granted him knowledge (when he interpreted the dream of the king) it not only took him out of prison, but elevated his rank in society, clearly showing us the virtue of knowledge and that physical beauty does not mean anything.”
Al-‘Ilm wa Fadhluhu wa Sharafuhu p. 32