Sahih Muslim | Book 28 | Hadith Number 5603

Narrated by 'Amr b. Sharid
'Amr b. Sharid reported on the authority of his father that Allah's Messenger (may peace be upon him) asked him to recite poetry, the rest of the hadith is the same, out with this addition: "He (that is Umayya b. Abu Sharid was about to become a Muslim and in the hadith transmitted on the authority, of Ibn Mahdi (the words are) "He was almost a Muslim in his poetry.