Abdullah bin Abbas reported,

During the time of the Prophet ﷺ, Musaylimah the Liar came to Madinah and began saying, "If Muhammad agrees that the leadership shall pass to me after him, I will follow him." He came accompanied by a large number of his people.The Prophet ﷺ went out to him with Thabit bin Qays bin Shammas, holding in his hand a piece of palm branch, until he stood before Musaylimah among his companions. He said, "Even if you asked me for this piece, I would not give it to you. I will not exceed Allah's command concerning you, and if you turn away, Allah will surely destroy you. I see that you are indeed the one I was shown in my vision. This is Thabit, who will answer you on my behalf."Then he turned away from him.

Muslim 5935

Sahih

حدثني محمد بن سهل التميمي حدثنا أبو اليمان أخبرنا شعيب عن عبد الله بن أبي حسين حدثنا نافع بن جبير

عن ابن عباس قال

قدم مسيلمة الكذاب على عهد النبي ﷺ المدينة فجعل يقول إن جعل لي محمد الأمر من بعده تبعته فقدمها في بشر كثير من قومه فأقبل إليه النبي ﷺ ومعه ثابت بن قيس بن شماس وفي يد النبي ﷺ قطعة جريدة حتى وقف على مسيلمة في أصحابه قال لو سألتني هذه القطعة ما أعطيتكها ولن أتعدى أمر الله فيك ولئن أدبرت ليعقرنك الله وإني لأراك الذي أريت فيك ما أريت وهذا ثابت يجيبك عني ثم انصرف عنه

مسلم 5935صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Dreams
Chapter
Visions of the Prophet ﷺ
Numbering
Darussalam 5935
Muslim 5935