Sunan Abi Dawud, Book 15, Hadith 188 (Abu Dawud 2665)

Narrated AbuUsayd as-Sa'idi:

The Prophet (ﷺ) said at the battle of Badr: When they come near you shoot arrows at them; and do not draw swords at them until they come near you.