On the day (of the battle) of Badr when we stood in rows against (the army of) Quraish and…

Sahih al-Bukhari Book 56 Hadith 114

Sahih al-Bukhari #2900

Fighting for the Cause of Allah (Jihaad) 56:114

Narrated Abu Usaid:

On the day (of the battle) of Badr when we stood in rows against (the army of) Quraish and they stood in rows against us, the Prophet (ﷺ) said, "When they do come near you, throw arrows at them."

Chapter: Exhortation to archery (i.e., arrow throwing)

Grade: Sahih