This hadith has been transmitted on the authority of Abu Huraira with a slight variation of wording.
Sahih Muslim Book 54, Hadith 107
← Previous Hadith
The Last Hour would not come until there would arise about thirty impostors, liars, and each one of them would claim that he is a messenger of Allah.
Sahih Muslim Book 54, Hadith 106 Next Hadith → We were along with Allah's Messenger (ﷺ) that we happened to pass by children amongst whom there was Ibn Sayyad. The children made their way but Ibn Sayyad kept sitting there (and it seemed) as if Allah's Messenger (ﷺ) did not like it (his sitting with the children) and said to him: May your nose he besmeared with dust, don't you bear testimony to the fact that I am the Messenger of Allah? Thereupon he said: No, but you should bear testimony that I am the messenger of Allah. Thereupon 'Umar b. Khattab said: Allah's Messenger, permit me that I should kill him. Thereupon Allah's Messenger (ﷺ) said: If he is that person who is in your mind (Dajjal ), you will not be able to kill him.
Sahih Muslim Book 54, Hadith 108
Sahih Muslim Book 54, Hadith 106 Next Hadith → We were along with Allah's Messenger (ﷺ) that we happened to pass by children amongst whom there was Ibn Sayyad. The children made their way but Ibn Sayyad kept sitting there (and it seemed) as if Allah's Messenger (ﷺ) did not like it (his sitting with the children) and said to him: May your nose he besmeared with dust, don't you bear testimony to the fact that I am the Messenger of Allah? Thereupon he said: No, but you should bear testimony that I am the messenger of Allah. Thereupon 'Umar b. Khattab said: Allah's Messenger, permit me that I should kill him. Thereupon Allah's Messenger (ﷺ) said: If he is that person who is in your mind (Dajjal ), you will not be able to kill him.
Sahih Muslim Book 54, Hadith 108