On the day of Badr, Messenger of Allah ﷺ said to us, "When the enemy comes near to you, shoot at them but use your arrows sparingly (so that your arrows should not be wasted).
لَنَا رَسُولُ اللَّهِ ﷺ يَوْمَ بَدْرٍ إِذَا أَكْثَبُوكُمْ فَارْمُوهُمْ وَاسْتَبْقُوا نَبْلَكُمْ