The Messenger of Allah ﷺ said on the day of Badr, "Whoever does such and such will have such and such from the spoils."The young men advanced into battle, while the elders stayed by the banners and did not leave them. When Allah granted them victory, the elders said, "We were a support for you. If you had been defeated, you would have fallen back to us. So do not take all the spoils for yourselves while we are left behind."The young men refused, saying, "The Messenger of Allah ﷺ assigned them to us."So Allah revealed, "They ask you about the spoils of war. Say, the spoils belong to Allah and the Messenger. So fear Allah and set right the matters between you, and obey Allah and His Messenger if you are truly believers" [Anfal 8:1].He is saying that this was better for them, and so it is in this matter as well. So obey me, for I know better than you the outcome of this affair.In another wording, "Whoever kills an enemy will have such and such, and whoever captures a prisoner will have such and such."Wazad added in another narration that the Messenger of Allah ﷺ then divided the spoils equally among them.
قال رسول الله ﷺ يوم بدر: من فعل كذا وكذا، فله من النفل كذا وكذا. قال: فتقدم الفتيان، ولزم المشيخة الرايات، فلم يبرحوها. فلما فتح الله عليهم، قالت المشيخة: كنا ردءا لكم، لو انهزمتم لفئتم إلينا، فلا تذهبوا بالمغنم، ونبقي، فأبي الفتيان، وقالوا: جعله رسول الله ﷺ لنا، فأنزل: {يسألونك عن الانفال قل الانفال لله والرسول فاتقوا الله واصلحوا ذات بينكم واطيعوا الله ورسوله ان كنتم مؤمنين}. يقول: فكان ذلك خيرا لهم، فكذلك أيضا، فأطيعوني فإني أعلم بعاقبة هذا منكم. وفي لفظ: من قتل قتيلا فله كذا وكذا، ومن أسر أسيرا فله كذا وكذا. وزاد في رواية: فقسمها رسول الله ﷺ بالسواء.
Abu Dawud (2737) and Hakim (2/131–132) narrated it, and from him Bayhaqi (6/291), both through the route of Khalid bin Abdullah Wasiti, from Dawud bin Abu Hind, from Ikrima, from Ibn Abbas, who related it. Hakim said, "This is a sahih hadith, for Bukhari relied on Ikrima as evidence, and Muslim relied on Dawud bin Abu Hind as evidence." Dhahabi said, "I say, it meets the standard of Bukhari."The additional wording mentioned, in two versions, was narrated by Abu Dawud (2738, 2739) and Bayhaqi (6/292, 6/315) through routes from Dawud bin Abu Hind with the same wording, and its chain of transmission is sahih as well.