The Prophet, peace be upon him, says: “Should a man whom you find satisfactory with regard to his honesty and strength of faith propose to you for marriage, then give him [your daughter] in marriage. Unless you do that, there is bound to be strife and much corruption in society.”
As you can see Prophet, peace be upon him, does not attach any importance to the wealth or position of the man who comes with a marriage proposal.
He speaks only of the man’s honesty and strength of faith. The Prophet, peace be upon him, also warns that if we choose different criteria, our society will soon suffer from corruption.