In order to associate something to Allah, one must have a divine decree for that, which should be either in Quran or an act transmitted through Sunnah. There is no such discrimination done by Allah. On the other hand, which explaining the distribution of resources among different people, Quran also describes its purpose:
نَحْنُ قَسَمْنَا بَيْنَهُمْ مَعِيشَتَهُمْ فِي الْحَيَاةِ الدُّنْيَا وَرَفَعْنَا بَعْضَهُمْ فَوْقَ بَعْضٍ دَرَجَاتٍ لِيَتَّخِذَ بَعْضُهُمْ بَعْضًا سُخْرِيًّا وَرَحْمَةُ رَبِّكَ خَيْرٌ مِمَّا يَجْمَعُونَ (32:43)
We have allocated among them their livelihood in this world [in such a manner that] We have raised some in status above others so that they can mutually serve each other. And better is your Lord’s mercy than what they are amassing. (43:32)
This world is created on the principle of tests and trials, and for that test to be effective, a certain inequality has been kept among people whether it be in knowledge, wealth, health and other matters, so that they can be tested w.r.t different dimensions of life and they should interact with eachother so that their morality can be tested. Just the way poverty creates a test of patience for the person, similarly, oppulence creates a test of being grateful to the Almighty. For details, please see:
Discussion 22229
Ahadith do not describe any principle, they’re at best an application of a principle w.r.t a sepcific situation. What Prophet (sws) must’ve said, must relate to specific circumstances of that situation in order to encorage wealthy people to do more infaaq or to participate more in Jihaad considering that Islam was still new at that time but it does in no way imply that people lacking in wealth are any less, and this point was cleared by the Prohet (sws) himself in the same Hadith as quoted by you.
Ahadith and/or separate incidents and individual reports are not a source of any law because of certain inherent limitations with their nature of transmission, they are to be understood in the light of Quran and Sunnah, more can be read here:
– To understand Hadith as a Source of Islamic Epistemology, please see:
Discussion 21789 • Reply 21983 (although the whole thread is helpful)
– Following points might help you understand a bit about the Hadith Science:
Discussion 32850 • Reply 32869