Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) narrates: The Prophet (peace and blessings be upon him) acquired spoils of war on the day of Hunayn and distributed them among the people. The Ansar said: We do the fighting and the spoils go to others. This reached the Prophet (peace and blessings be upon him), so he (peace and blessings be upon him) sent word to them to gather. Then he came to them and said: "O company of the Ansar, is there anyone among you who is not one of you?" They said: No, except a son of one of our sisters and a client (mawla) of ours. He (peace and blessings be upon him) said: "The son of a people's sister is one of them, and the client of a people is one of them." Then he said: "O company of the Ansar, are you not pleased that the people should go away with sheep and cattle, while you go away with Muhammad (peace and blessings be upon him)?" They said: We are pleased.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12823