صحيح البخاري
From Sahih Bukhari (Hadith 2802):
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
Reference: Bukhari 2802