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.
Ibn Qayyim Al-JawziyyaThe heart becomes sick, as the body becomes sick, and its remedy is al-Tawbah (repentance) and protection [from transgression]. It becomes rusty as a mirror becomes rusty, and its clarity is obtained by remembrance. It becomes naked as the body becomes naked, and its beautification is al-Taqwa. It becomes hungry and thirsty as the body becomes hungry, and its food and drink are knowledge, love, dependence, repentance and servitude.
Ibn Qayyim Al-JawziyyaLove of Allah is the power of the heart, the sustenance of the heart, the light of the heart.
Ibn Qayyim Al-JawziyyaAs you can taste a pot full of food with a spoon likewise someone's tounge can tell you about his heart.
Ibn Qayyim Al-Jawziyya