Jundab bin Sufyan reported,

The Messenger of Allah ﷺ was in one of the battles when his finger was injured and began to bleed. He said, "You are only a finger that has bled, and what you have suffered was in the path of Allah."

Bukhari 2802

Sahih

حدثنا موسى بن إسماعيل حدثنا أبو عوانة عن الأسود بن قيس

عن جندب بن سفيان

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

البخاري 2802صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
One who is wounded in the cause of Allah
Numbering
Darussalam 2802
Bukhari 2802