Abdullah bin Abbas reported,

Thursday, and what a Thursday it was! Then he wept until his tears moistened the pebbles. He said, "The Messenger of Allah's ﷺ illness grew severe on Thursday, and he said, 'Bring me writing materials so that I may write for you a document after which you will never go astray.' But they disputed, and there should be no disputing in the presence of a Prophet. They said, 'The Messenger of Allah ﷺ is delirious.' He said, 'Leave me alone. What I am in is better than what you are calling me to.'"At his death he made three bequests, "Expel the polytheists from the Arabian Peninsula, give gifts to delegations as I used to give them," and I have forgotten the third.Yaqub bin Muhammad said, I asked Mughira bin Abdul-Rahman about the Arabian Peninsula, and he said, "Mecca, Medina, Yamamah, and Yemen."Yaqub said, "Arj is the beginning of Tihamah."

Azami 9335

Sahih

عن ابن عباس أنه قال

يوم الخميس، وما يوم الخميس، ثم بكى حتى خضب دمعه الحصباء، فقال: اشتد برسول الله ﷺ وجعه يوم الخميس، فقال: ائتوني بكتاب أكتب لكم كتابا لن تضلوا بعده أبدا فتنازعوا، ولا ينبغي عند نبي تنازع، فقالوا: هجر رسول الله ﷺ قال: دعوني فالذي أنا فيه خير مما تدعوني إليه. وأوصى عند موته بثلاث: أخرجوا المشركين من جزيرة العرب، وأجيزوا الوفد بنحو ما كنت أجيزهم ونسيت الثالثة. قال يعقوب بن محمد: سألت المغيرة بن عبد الرحمن عن جزيرة العرب، فقال: مكة والمدينة واليمامة واليمن. وقال يعقوب: والعرج أول تهامة.

الأعظمي 9335صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Nearness of his death, his foretelling of it, his passing, and his burial
Section
Last words of advice the Prophet ﷺ gave during his final illness
Numbering
Jami al-Kamil 9335 (2nd edition)
Azami 9335