Mishkat al-Masabih
Abu Usaid reported the Prophet (ﷺ) as saying to them at the battle of Badr when they drew up in line to meet Quraish and they drew up in line to meet them, “When they come near you shoot arrows at them.” A version has, “When they come near you shoot at them, but do not use all your arrows.” Bukhari transmitted it.
وَعَن أبي أَسِيدٍ: أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ لَنَا يَوْمَ بَدْرٍ حِينَ صَفَفَنَا لِقُرَيْشٍ وَصَفُّوا لَنَا: «إِذَا أَكْثَبُوكُمْ فَعَلَيْكُمْ بِالنَّبْلِ» . وَفِي رِوَايَةٍ: «إِذَا أَكْثَبُوكُمْ فَارْمُوهُمْ وَاسْتَبْقُوا نَبْلَكُمْ» . رَوَاهُ الْبُخَارِيُّ
Reference