The believers who failed to join the Ghazwa of Badr and those who took part in it are not equal (in reward).
Sahih al-Bukhari Book 64, Hadith 6