Abdullah bin Zayd bin Asim reported,

When Allah granted His Messenger ﷺ the spoils on the day of Hunayn, he distributed shares among the people, giving generously to those whose hearts were to be reconciled, but he gave nothing to the Ansar. They felt some resentment at not receiving what the others had received. So he addressed them and said, "Company of the Ansar, did I not find you astray, and Allah guided you through me? Were you not divided, and Allah united you through me? Were you not poor, and Allah enriched you through me?"Each time he said something, they replied, "Allah and His Messenger have been most gracious."He said, "What prevents you from answering the Messenger of Allah ﷺ?"Each time he said something, they replied, "Allah and His Messenger have been most gracious."He said, "If you wished, you could say, 'You came to us in such and such a state.' Are you not pleased that the people should depart with sheep and camels, while you depart with the Prophet ﷺ to your homes? Were it not for the migration, I would be a man of the Ansar. If the people travelled through one valley or mountain pass and the Ansar through another, I would travel through the valley and pass of the Ansar. The Ansar are the inner garment, and the people are the outer garment. After me you will encounter favoritism shown to others over you, so be patient until you meet me at the Pool."

Azami 4124

Sahih

عن عبد الله بن زيد بن عاصم، قال

لما أفاء الله على رسوله ﷺ يوم حنين قسم في الناس في المؤلفة قلوبهم ولم يعط الأنصار شيئا، فكأنهم وجدوا إذ لم يصبهم ما أصاب الناس، فخطبهم فقال: يا معشر الأنصار ألم أجدكم ضلالا فهداكم الله بي؟ وكنتم متفرقين فألفكم الله بي؟ وعالة فأغناكم الله بي؟ كلما قال شيئا قالوا: الله ورسوله أمن. قال: ما يمنعكم أن تجيبوا رسول الله ﷺ. قال: كلما قال شيئا قالوا: الله ورسوله أمن. قال: لو شئتم قلتم: جئتنا كذا وكذا أترضون أن يذهب الناس بالشاء والبعير وتذهبون بالنبي ﷺ إلى رحالكم، لولا الهجرة لكنت امرأ من الأنصار، ولو سلك الناس واديا وشعبا لسلكت وادي الأنصار وشعبها، الأنصار شعار، والناس دثار، إنكم ستلقون بعدي أثرة فاصبروا حتى تلقوني على الحوض.

الأعظمي 4124صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Zakat
Chapter
Encouragement to pay zakat and charity and the ways of spending them
Section
Those whose hearts are to be reconciled
Numbering
Jami al-Kamil 4124 (2nd edition)
Azami 4124