The Prophet ﷺ said, "Do not wish to meet the enemy, but when you do meet them, stand firm."
أن النبي ﷺ قال: لا تمنوا لقاء العدو فإذا لقيتموهم فاصبروا.
Muslim narrated it in Jihad and Expeditions (1741:19) via Abu Amir Aqadi, from Mughira bin Abdul-Rahman Hazami, from Abu Zinad, from Araj, from Abu Hurairah, who related it. Bukhari also cited it as a suspended chain in Jihad and Expeditions (3026) from Abu Amir Aqadi with the same chain.