Sunan Abi Dawud, Book 15, Hadith 227 (Abu Dawud 2704)

Narrated AbdurRahman ibn Samurah ibn Kabul:

AbuLabid said: We were with AbdurRahman ibn Samurah ibn Kabul. The people got booty and plundered it. He stood and addressed (the people): I heard the Messenger of Allah (ﷺ) prohibiting getting property from the booty before its distribution. Therefore, they returned what they had taken, He then distributed it among them.