It is narrated from Sayyiduna Ubadah bin al-Samit (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) used to take a tuft of hair (wool) from the side of a camel out of the spoils of war and say: "My share in this wealth is no more than that of any one of you. Beware of misappropriating the spoils, for it will be a disgrace for the one who does it on the Day of Resurrection. So hand over (everything), the needle and the thread and whatever is more than that. And establish the limits ordained by Allah upon those near and those far, and let not the blame of any blamer hold you back in the matter of Allah. Jihad is one of the gates of Paradise; through it Allah Almighty delivers the one who undertakes it (jihad) from grief and distress."
Imam Ibn Majah (may Allah have mercy on him) narrated part of this report from Abdullah bin Salim.
Abu Sadiq's name is Muslim bin Yazid al-Azdi, and it is also said that his name is Abdullah bin Najidh, the brother of Rabi'ah bin Najidh.
Related hadith on this topic