Ibn 'Abbas reported that Musailima al-Kadhdhab (the greater liar) (who claimed prophethood after the death of the Holy Prophet) came during the lifetime of Allah' s Apostle (ﷺ) to Medina and said: If Muhammad assigns his caliphate to me after him I would follow him, and there came along with him a large body of persons of his tribe, and there came to him Allah' s Apostle (ﷺ) along with Thabit b. Qais b. Shammas and the Prophet of Allah (ﷺ) had a piece of wood in his hand until he came in front of Musailima in the company of his companions and said: If you were to ask even this (wood), I would never give it to you. I am not going to do anything against the will of God in your case, and if you turn away (from what I say) Allah will destroy you. And I find you in the same state which I was shown (in the dream) and here is Thabit and he would answer you on my behalf. He (the Holy Prophet) then went back. Ibn 'Abbas said: I asked the (meaning of the) words of Allah' s Apostle (ﷺ): "You are the same what I was made to see about you in my dream." and Abu Huraira reported that Allah' s Messenger (ﷺ) said: While I was sleeping I saw in my hands two gold bangles. This had a disturbing effect upon me and I was given a suggestion in the sleep that I should blow over them, so I blew over them and they were no more. And I interpreted these (two bangles) as the two great liars who would appear after me and the one amongst them was Al-' Anasi the inhabitant of San 'a' and the other one Musailima the inhabitant of Yamama.
Sahih Muslim 2274a
Chapters
1 Introduction 2 The Book of Faith 3 The Book of Purification 4 The Book of Menstruation 5 The Book of Prayers 6 The Book of Mosques and Places of Prayer 7 The Book of Prayer - Travellers 8 The Book of Prayer - Friday 9 The Book of Prayer - Two Eids 10 The Book of Prayer - Rain 11 The Book of Prayer - Eclipses 12 The Book of Prayer - Funerals 13 The Book of Zakat 14 The Book of Fasting 15 The Book of I'tikaf 16 The Book of Pilgrimage 17 The Book of Marriage 18 The Book of Suckling 19 The Book of Divorce 20 The Book of Invoking Curses 21 The Book of Emancipating Slaves 22 The Book of Transactions 23 The Book of Musaqah 24 The Book of the Rules of Inheritance 25 The Book of Gifts 26 The Book of Wills 27 The Book of Vows 28 The Book of Oaths 29 The Book of Oaths, Muharibin, Qasas(Retaliation), andDiyat(Blood Money) 30 The Book of Legal Punishments 31 The Book of Judicial Decisions 32 The Book of Lost Property 33 The Book ofJihadand Expeditions 34 The Book on Government 35 The Book of Hunting, Slaughter, and what may be Eaten 36 The Book of Sacrifices 37 The Book of Drinks 38 The Book of Clothes and Adornment 39 The Book of Manners and Etiquette 40 The Book of Greetings 41 The Book Concerning the Use of Correct Words 42 The Book of Poetry 43 The Book of Dreams 44 The Book of Virtues 45 The Book of the Merits of the Companions 46 The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship 47 The Book of Destiny 48 The Book of Knowledge 49 The Book Pertaining to the Remembrance of Allah, Supplication, Repentance and Seeking Forgiveness 50 The Book of Heart-Melting Traditions 51 The Book of Repentance 52 Characteristics of The Hypocrites And Rulings Concerning Them 53 Characteristics of the Day of Judgment, Paradise, and Hell 54 The Book of Paradise, its Description, its Bounties and its Inhabitants 55 The Book of Tribulations and Portents of the Last Hour 56 The Book ofZuhdand Softening of Hearts 57 The Book of Commentary on the Qur'an