On the day of (the battle of) Badr, Messenger of Allah ﷺ 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."
لَنَا رَسُولُ اللَّهِ ﷺ يَوْمَ بَدْرٍ إِذَا أَكْثَبُوكُمْ يَعْنِي كَثَرُوكُمْ فَارْمُوهُمْ وَاسْتَبْقُوا نَبْلَكُمْ