The Messenger of Allah ﷺ set out on the day of Badr with three hundred and fifteen men. The Messenger of Allah ﷺ said, "O Allah, they are barefoot, so provide them with mounts. O Allah, they are naked, so clothe them. O Allah, they are hungry, so feed them."Allah granted him victory on the day of Badr, and when they returned, every man among them came back with a camel or two. They were clothed and well-fed.
أن رسول الله ﷺ خرج يوم بدر في ثلاث مائة وخمسة عشر، فقال رسول الله ﷺ: اللهم إنهم حفاة فاحملهم اللهم إنهم عراة فاكسهم، اللهم إنهم جياع فأشبعهم ففتح الله له يوم بدر، فانقبلوا حين انقلبوا، وما منهم رجل إلا وقد رجع بجمل أو جملين، واكتسوا وشبعوا.
Abu Dawud (2747), Hakim (2/132-133, 145), and Bayhaqi (6/305) all narrated it via Abdullah bin Wahb, who said, Huyayy narrated to us, from Abu Abdul-Rahman Hubli, from Abdullah bin Amr, and he mentioned it. Its chain is hasan because of Huyayy, who is Huyayy bin Abdullah Maafiri, since there is disagreement about him, and the closer view is that a narrator like him can be accepted in matters of military expeditions, merits, and similar topics, provided the narration is free from anything objectionable or contradictory. Ibn Hajar graded its chain hasan in Fath al-Bari (7/292). As for Hakim, he said in the first place, "This is a sahih hadith meeting the standard of the two Shaykhs." And he said in the second place, a sahih hadith meeting the standard of Muslim.I say, Huyayy bin Abdullah Maafiri was not narrated from by the two Shaykhs, nor by either of them individually. Only the four (compilers of the Sunan) narrated from him.