`Abdallah b. `Amr told that the Prophet went out at the battle of Badr with three hundred and fifteen men and said, "0 God, they are barefoot, so provide mounts for them; O God, they are naked, so clothe them; O God, they are hungry, so satisfy them." God then gave him victory, and when they went back there was not a man who did not return with one camel or two, and they were clothed and had enough to eat.
Abu Dawud transmitted it.