It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Muslims captured one of the great chiefs of the polytheists and killed him. Then they asked to buy his body, and the Prophet (peace and blessings be upon him) forbade the Companions from taking (a price) in exchange for his corpse.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12006