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 being reconciled, but he gave the Ansar nothing. They felt hurt that they had not received what others had received.So he addressed them and said, "People of the Ansar, did I not find you misguided, 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 go away with sheep and camels while you go away with the Prophet ﷺ to your dwellings? Were it not for the Hijrah, I would have been a man of the Ansar. If the people traveled through one valley and the Ansar through another, I would travel through the valley of the Ansar. The Ansar are the inner garment, and the others are the outer garment. After me, you will encounter favoritism shown to others, so be patient until you meet me at the Pool."
لما أفاء الله على رسوله ﷺ يوم حنين، قسم في الناس في المؤلفة قلوبهم، ولم يعط الأنصار شيئا، فكأنهم وجدوا إذ لم يصبهم ما أصاب الناس فخطبهم فقال: يا معشر الأنصار، ألم أجدكم ضلالا فهداكم الله بي، وكنتم متفرقين فألفكم الله بي، وكنتم عالة، فأغناكم الله بي كلما قال شيئا قالوا: الله ورسوله أمن. قال: ما يمنعكم أن تجيبوا رسول الله ﷺ قال: كلما قال شيئا، قالوا: الله ورسوله أمن. قال: لو شئتم قلتم: جئتنا كذا وكذا أترضون أن يذهب الناس بالشاة والبعير، وتذهبون بالنبي ﷺ إلى رحالكم، لولا الهجرة لكنت امرأ من الأنصار، ولو سلك الناس واديا وشعبا لسلكت وادي الأنصار وشعبها، الأنصار شعار والناس دثار، إنكم ستلقون بعدي أثرة فاصبروا حتى تلقوني على الحوض.
Bukhari reported it in the Book of Military Expeditions (4330) and Muslim in the Book of Zakat (139:1061), both of them by way of Amr bin Yahya bin Umara, from Abbad bin Tamim, from Abdullah bin Zayd bin Asim, who said, and then he narrated it.