كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(10)
Chapter
(10)
باب
Sahih al-Bukhari 3985

Narrated Abu Usaid:

On the day of (the battle of) Badr, Allah's Messenger (ﷺ) said to us, "When your enemy comes near to you (i.e. overcome you by sheer number), shoot at them but use your arrows sparingly."

حَدَّثَنِي مُحَمَّدُ بْنُ عَبْدِ الرَّحِيمِ، حَدَّثَنَا أَبُو أَحْمَدَ الزُّبَيْرِيُّ، حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ الْغَسِيلِ، عَنْ حَمْزَةَ بْنِ أَبِي أُسَيْدٍ، وَالْمُنْذِرِ بْنِ أَبِي أُسَيْدٍ، عَنْ أَبِي أُسَيْدٍ ـ رضى الله عنه ـ قَالَ قَالَ لَنَا رَسُولُ اللَّهِ صلى الله عليه وسلم يَوْمَ بَدْرٍ ‏ "‏ إِذَا أَكْثَبُوكُمْ ـ يَعْنِي كَثَرُوكُمْ ـ فَارْمُوهُمْ، وَاسْتَبْقُوا نَبْلَكُمْ ‏"‏‏.‏
Reference : Sahih al-Bukhari 3985
In-book reference : Book 64, Hadith 36
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 321
  (deprecated numbering scheme)