I never failed to join Allah's Apostle in any of his Ghazawat except in the Ghazwa of Tabuk. However, I did not take part in the Ghazwa of Badr, but none who failed to take part in it, was blamed, for Allah's Apostle had gone out to meet the caravans of (Quraish, but Allah caused them (i.e. Muslims) to meet their enemy unexpectedly (with no previous intention) .
On the day (of the battle) of Badr when we stood in rows against (the army of) Quraish and they stood in rows against us, [ Muhammad ] said, "When they do come near you, throw arrows at them."
Aba Talha reported: When it was the Day of Badr and Allah's Apostle (may peace be upon him) had gained victory over them (the Meccans), he commanded more than twenty persons, and in another hadith these are counted as twenty-four persons, from the non-believers of the Quraish to be thrown into the well of Badr. The rest of the hadith is the same.