Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:59:9

And ˹also for˺ those who were settled in al-Madinah and ˹adopted˺ the faith before them. They love those who emigrated to them and find not any want in their breasts of what the emigrants were given but give ˹them˺ preference over themselves, even though they are in privation. And whoever is protected from the stinginess of his soul - it is those who will be the successful.  

And those who had settled in the hometown, that is, Medina, and ˹had abided˺ in faith, that is to say, ˹those who˺ had embraced it with enthusiasm — these being the Helpers, before them, love those who have emigrated to them, and do not find in their breasts any need, any envy, of that which those ˹others˺ have been given, that is to say, of what the Prophet (s) had given the Emigrants from the ˹seized˺ possessions of the Banū al-Nadīr, ˹a share which was˺ exclusively theirs; but prefer ˹others˺ to themselves, though they be in poverty, in need of that which they prefer for ˹those˺ others ˹to have˺. And whoever is saved from the avarice of his own soul, its covetousness for ˹acquiring˺ possessions, those — they are the successful.
القرآن:٥٩:٩

وَالَّذِينَ تَبَوَّءُوا الدَّارَ وَالْإِيمَانَ مِنْ قَبْلِهِمْ يُحِبُّونَ مَنْ هَاجَرَ إِلَيْهِمْ وَلَا يَجِدُونَ فِي صُدُورِهِمْ حَاجَةً مِمَّا أُوتُوا وَيُؤْثِرُونَ عَلَىٰ أَنْفُسِهِمْ وَلَوْ كَانَ بِهِمْ خَصَاصَةٌ ۚ وَمَنْ يُوقَ شُحَّ نَفْسِهِ فَأُولَٰئِكَ هُمُ الْمُفْلِحُونَ  

{والذين تبوؤا الدار} أي المدينة {والإيمان} أي ألفوه وهم الأنصار {من قبلهم يحبون من هاجر إليهم ولا يجدون في صدورهم حاجة} حسدا {مما أوتوا} أي آتى النبي ﷺ المهاجرين من أموال بني النضير المختصة بهم {ويؤثرون على أنفسهم ولو كان بهم خصاصة} حاجة إلى ما يؤثرون به {ومن يوق شُحَّ نفسه} حرصها على المال {فأولئك هم المفلحون}.