Sahih al-Bukhari #3956
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) 64:8
Narrated Al-Bara:
I and Ibn `Umar were considered too young (to take part) in the battle of Badr, and the number of the Emigrant warriors were over sixty (men) and the Ansar were over 249.