Shama-il Tirmidhi Chapter 036, Hadith Number 003 (233).

Jundub bin Sufyaan Radiyallahu 'Anhu relates: "Once a stone hit the Mubaarak fingers of Rasulullah Sallallahu'Alayhi Wasallam and injured them, they became covered in blood. Rasulullah Sallallahu'Alayhi Wasallam thereupon recited this couplet: 'You are but a finger, no damage has overcome you, besides covering you in blood. This is not fruitless, for reward has been obtained in the path of Allah'".

Commentary
A question may arise that how did Sayyidina Rasulullah Sallallahu Alayhi Wasallam recite these couplets? An answer has already been given. Here a specific answer may also be given that this is called 'Rijz'-verses read on a battlefield-and not that of poetry. Some people have said that the compiling of one or two verses of poetry does not make one a poet, therefore this cannot be against the Qur-aanic aayah: .'And we have not taught him (Muhammad Sallallahu 'Alayhi wasallam) poetry, nor is it meet for him...' Surah 'Ya Seen, 68. Some have said that the last word of Damayti and Laqayti has a saakin and not a kasrah. In this case it will not be regarded as rhyming correctly. According to this humble servant, if this, explanation is given, that this was not the words of Sayyidina Rasulullah Sallallahu Alayhi Wasallam but that of another poet, then no other explanation is necessary. Waqidi says it is the words of Walid bin Walid. Ibn Abid Dunya has written in his kitaab 'Muhasabatun Nafs' that these, were the words of Sayyidina Ibn Rawahah Radiyallahu 'Anhu. It is not impossible for two poets to compile the same verses, therefore it may be possible that both may have said them. There is a difference of opinion as to when this was said. The majority of the 'ulama say that it was at the time of the Battle Of Uhud. Some are of the opinion that it was said before the hijrah.