Anas bin Malik reported,

On the day of the conquest of Makkah, when the Prophet ﷺ gave generously to the Quraysh, the Ansar said, "By Allah, this is truly astonishing. Our swords are still dripping with the blood of the Quraysh, yet our spoils are being handed back to them."Word of this reached the Prophet ﷺ, so he summoned the Ansar and asked, "What is this that has reached me about you?" They were people who did not lie, so they replied, "It is as you have heard."He said, "Are you not pleased that the people return to their homes with the spoils, while you return to your homes with the Messenger of Allah ﷺ? If the Ansar were to travel through a valley or a mountain pass, I would travel through the valley or pass of the Ansar."

Bukhari 3778

Sahih

حدثنا أبو الوليد حدثنا شعبة عن أبي التياح قال سمعت

أنسا رضي الله عنه يقول

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

البخاري 3778صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtues of the Ansar
Chapter
Virtues of the Ansar
Numbering
Darussalam 3778
Bukhari 3778