Language:
كتاب الجهاد والسير
56  
Fighting for the Cause of Allah (Jihaad)
(78)
Chapter: Exhortation to archery (i.e., arrow throwing)
(78)
باب التَّحْرِيضِ عَلَى الرَّمْىِ
Sahih al-Bukhari 2900

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."

حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ الْغَسِيلِ، عَنْ حَمْزَةَ بْنِ أَبِي أُسَيْدٍ، عَنْ أَبِيهِ، قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم يَوْمَ بَدْرٍ حِينَ صَفَفْنَا لِقُرَيْشٍ وَصَفُّوا لَنَا ‏ "‏ إِذَا أَكْثَبُوكُمْ فَعَلَيْكُمْ بِالنَّبْلِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 2900
In-book reference : Book 56, Hadith 114
USC-MSA web (English) reference : Vol. 4, Book 52, Hadith 149
  (deprecated numbering scheme)