Sahih Muslim, Book 32, Hadith 22 (Muslim 4500)

It has been narrated on the authority of Abu Huraira that the Messenger of Allah (ﷺ) said:

Do not desire an encounter with the enemy; but when you encounter them, be firm.