Asim bin Kulayb (may Allah have mercy on him) narrates from his father, from a man of Muzaynah, that he said: A Muslim woman of Quraysh prepared food for the Messenger of Allah (peace and blessings be upon him) and invited him (peace and blessings be upon him) and his Companions (may Allah be pleased with them). (The narrator) says: My father took me along with him. We sat in the places where sons sit (before their fathers). They did not eat until the Messenger of Allah (peace and blessings be upon him) ate. When the Messenger of Allah (peace and blessings be upon him) took a morsel, he threw it away and then said: "I find the taste of the meat of a sheep that was slaughtered without its owner's permission." The woman said: O Messenger of Allah, (it belongs to) my brother, and I am among the dearest of people to him; had it been something better than this, he would not have begrudged it to me, and it is upon me to satisfy him with something better than it. He (peace and blessings be upon him) refused to eat it and ordered that the food be given to the captives.
The Shaykh (may Allah have mercy on him) says: This was because he feared it would spoil, and its owner was absent, so in consideration of the best interest he (peace and blessings be upon him) ordered that the captives be fed with it; then its owner would be compensated.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الغصب / 11528