It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the number of the people of Badr was equal to the number of the companions of Talut, that is, they were three hundred and thirteen men.
It has a supporting narration (shahid) in Sahih al-Bukhari from the hadith of Sayyiduna al-Bara' bin Azib (may Allah be pleased with him).