Salama bin Akwa reported,

The Prophet ﷺ passed by a group of men from Aslam who were holding an archery competition. The Prophet ﷺ said, "Shoot, sons of Ismail, for your father was an archer. Shoot, and I am with the sons of so-and-so."One of the two teams then lowered their hands and stopped shooting.The Messenger of Allah ﷺ asked, "What is the matter with you that you are not shooting?"They replied, "How can we shoot when you are with the other side?"The Prophet ﷺ said, "Shoot, for I am with all of you."

Bukhari 2899

Sahih

حدثنا عبد الله بن مسلمة حدثنا حاتم بن إسماعيل عن يزيد بن أبي عبيد قال سمعت

سلمة بن الأكوع رضي الله عنه قال

مر النبي ﷺ على نفر من أسلم ينتضلون فقال النبي ﷺ ارموا بني إسماعيل فإن أباكم كان راميا ارموا وأنا مع بني فلان قال فأمسك أحد الفريقين بأيديهم فقال رسول الله ﷺ ما لكم لا ترمون قالوا كيف نرمي وأنت معهم قال النبي ﷺ ارموا فأنا معكم كلكم

البخاري 2899صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
Encouragement to practice archery
Numbering
Darussalam 2899
Bukhari 2899