The companions of (the Prophet) Muhammad who took part in Badr, told me that their number was that of Saul's (i.e. Talut's) companions who crossed the river (of Jordan) with him and they were over three-hundred-and-ten men. By Allah, none crossed the river with him but a believer. (See Qur'an 2:249)
حَدَّثَنِي أَصْحَابُ مُحَمَّدٍ ﷺ مِمَّنْ شَهِدَ بَدْرًا أَنَّهُمْ كَانُوا عِدَّةَ أَصْحَابِ طَالُوتَ الَّذِينَ جَازُوا مَعَهُ النَّهَرَ بِضْعَةَ عَشَرَ وَثَلاَثَمِائَةٍ قَالَ الْبَرَاءُ لاَ وَاللَّهِ مَا جَاوَزَ مَعَهُ النَّهَرَ إِلاَّ مُؤْمِنٌ