Sahih al-Bukhari, Book 56, Hadith 19 (Bukhari 2688)

Narrated Jundab bin Sufyan:

In one of the holy Battles a finger of Allah's Messenger (ﷺ) (got wounded and) bled. He said, "You are just a finger that bled, and what you got is in Allah's Cause."