Sahih al-Bukhari, Book 64, Hadith 8 (Bukhari 3792)

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.