It wasnarrated that 'Ubadah bin Samit said:
"The Messenger of Allah(ﷺ) led us in prayer on the Day of Hunain, beside a camel that waspart of the spoils of war. Then he took something from the camel, andextracted from it a hair, which he placed between two of his fingers.Then he said: 'O people, this is part of your spoils of war. Handovera needle and thread and anything greater than that or less thanthat.For stealing from the spoils of war will be a source of shameforthose who do it, and ignominy and Fire, on the Day ofResurrection.'"
English reference: Vol. 4, Book 24, Hadith 2850
Arabic reference: Book 24, Hadith 2958