In The Name of Allaah, The Most Merciful, The Bestower of Mercy
Imaam Ibn Rajab [rahimahullaah] said:
When it is the case that the original [place] of Taqwah is in the heart, then none can determine its reality except Allaah [The Mighty and Majestic], as he [sallal-laahu-alayhi-wasallam] said: ‘’Indeed Allaah neither looks at your images nor your wealth, but He looks at your hearts and your actions.’’ And in another narration, [he (sallal-laahu-alayhi-wasallam)] said: “Indeed, Allaah neither looks at your bodies nor your images’’
[Saheeh Muslim. Number 2564]
Indeed, it may be that a person has a good looking image, [abundant or enough] wealth, prestige or leadership in the worldly life, whilst his heart is deprived of Taqwah. And it may be that there is one with nothing, but his heart is filled with Taqwah, so he becomes nobler in the Sight of Allaah [The Mighty and Majestic]; rather this is mostly what happens.
Source: An Excerpt from ‘Jaami-ul Uloom Wal-Hikam’. Commentary on hadeeth 35. slightly paraphrased