From Sahih Bukhari (Hadith 6146):
Narrated Jundub:While the Prophet (ﷺ) was walking, a stone hit his foot and stumbled and his toe was injured. He then (quoting a poetic verse) said, "You are not more than a toe which has been bathed in blood in Allah's Cause
Reference: Bukhari 6146