The Prophet ﷺ used to remain at the battlefield for three nights whenever he prevailed over a people. On the third day at Badr, he ordered that his mount be prepared, and its saddle was fastened upon it. Then he set off walking, and his companions followed him, saying, "We think he is only going to attend to some need of his."He continued until he stood at the edge of the well and began calling out to them. The narrator then mentioned the rest of the hadith.
كان النبي ﷺ إذا ظهر على قوم أقام بالعرصة ثلاث ليال، فلما كان ببدر اليوم الثالث أمر براحلته فشد عليها رحلها، ثم مشى وأتبعه أصحابه وقالوا: ما نري ينطلق إلا لبعض حاجته حتى قام على شفة الركي، فجعل يناديهم فذكر الحديث.
Bukhari narrated it in the Book of Military Expeditions (3976), from Abdullah bin Muhammad, who heard Rawh bin Ubada, who said, Saeed bin Abu Aruba told us, from Qatada, who said, Anas bin Malik mentioned to us, from Abu Talha, who said, and then he related it. Muslim also narrated it (2875), except that he did not mention the point being cited as evidence. His ﷺ departure from Badr was on the night of Monday, with the captives in his company, guarded by Shaqran, along with abundant spoils, and he sent two bearers of good news to Madinah.As for what is related from Ibn Abbas, who said, it was said to the Messenger of Allah ﷺ when he had finished with Badr, "The caravan is yours, there is nothing between you and it." He said, then Abbas bin Abdul-Muttalib called out to him, "It is not fitting for you." He asked, "Why not?" Abbas said, "Because Allah only promised you one of the two groups, and He has already given you what He promised you." This is munkar (unrecognized/rejected).Tirmidhi (3080), Ahmad (2022), and Hakim (2/327) all narrated it through the route of Israil, from Simak bin Harb, from Ikrima, from Ibn Abbas, who related it. Tirmidhi said, hasan sahih. Hakim said, sahih in its chain of transmission.I say, Simak's transmission from Ikrima is known to be inconsistent, and moreover there is objectionable content in its wording. This is because the noble verse "And when Allah promised you one of the two groups, that it would be yours, while you wished that the one without strength would be yours" [Anfal 8:7] was revealed concerning Badr. So how could Abbas bin Abdul-Muttalib, who came with the disbelievers of Makkah, have known of this noble verse?