Amr bin Maymun reported,

Umar said, "I instruct the caliph after me concerning the early Muhajirun, that he recognize their rights. I instruct the caliph concerning the Ansar, those who settled in the home of Islam and embraced faith before the Prophet ﷺ migrated, that he accept from the good among them and overlook the faults of those who err."

Azami 13519

Sahih

عن عمرو بن ميمون قال

قال عمر: أوصي الخليفة بالمهاجرين الأولين: أن يعرف لهم حقهم، وأوصي الخليفة بالأنصار الذين تبوؤوا الدار والإيمان من قبل أن يهاجر النبي ﷺ: أن يقبل من محسنهم، ويعفو من مسيئهم.

الأعظمي 13519صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Hashr
Section
His saying, "And those who settled in the land and in faith before them love those who emigrated to them and find no desire in their hearts for what they were given, and they give preference over themselves even though they are in need. And whoever is protected from the stinginess of his soul, those are the successful ones"
Numbering
Jami al-Kamil 13519 (2nd edition)
Azami 13519