Anas bin Malik reported,

On the day of Hunayn, the tribes of Hawazin and Ghatafan and others advanced with their livestock and their families. The Prophet ﷺ had with him ten thousand men along with the freed captives of Mecca. They turned their backs on him and fled until he was left alone. On that day he called out twice, without mingling the two calls. He turned to his right and said, "Company of the Ansar."They replied, "At your service, Messenger of Allah. Rejoice, we are with you."Then he turned to his left and said, "Company of the Ansar."They replied, "At your service, Messenger of Allah. Rejoice, we are with you."He was mounted on a white mule. He dismounted and said, "I am the servant of Allah and His Messenger." The polytheists were routed.That day he obtained much spoil and distributed it among the Muhajirun and the freed captives, giving the Ansar nothing. The Ansar said, "When the fighting is fierce we are the ones called upon, yet the spoils are given to others."Word of this reached him, so he gathered them in a tent and said, "Company of the Ansar, what is this report that has reached me about you?"They remained silent. He said, "Company of the Ansar, are you not pleased that the people should depart with worldly goods while you depart with the Messenger of Allah, taking him home with you to your houses?"They said, "Yes indeed."The Prophet ﷺ said, "If the people were to travel through one valley and the Ansar through a mountain pass, I would take the pass of the Ansar."Hisham said, I asked, "Abu Hamza, were you present at that?"He replied, "And where would I have been absent from it?"

Bukhari 4337

Sahih

حدثنا محمد بن بشار حدثنا معاذ بن معاذ حدثنا ابن عون عن هشام بن زيد بن أنس بن مالك

عن أنس بن مالك رضي الله عنه قال

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

البخاري 4337صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Expeditions
Chapter
Expedition of Taif in Shawwal, year eight
Numbering
Darussalam 4337
Bukhari 4337