Abdullah bin Zayd bin Asim reported,

When Allah granted His Messenger ﷺ the spoils of war on the day of Hunayn, he distributed shares among the people, giving to those whose hearts were to be reconciled, but he gave nothing to the Ansar. They felt some resentment, since they had not received what others had received. So he addressed them, saying, "Company of the Ansar, did I not find you astray, and Allah guided you through me? And you were divided, and Allah united you through me? And you were poor, and Allah enriched you through me? And you were poor, and Allah enriched you through me?"Each time he said something, they replied, "Allah and His Messenger have shown the greatest favor."...the hadith continues.

Azami 12410

Sahih

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

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

الأعظمي 12410صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "And He brought together their hearts. If you had spent all that is in the earth, you could not have brought their hearts together, but Allah brought them together. Indeed, He is Exalted in Might, Wise"
Numbering
Jami al-Kamil 12410 (2nd edition)
Azami 12410