Abdullah bin Abbas reported,

Thursday, and what a Thursday it was! Then he wept until his tears soaked the pebbles.He said, "The Messenger of Allah's ﷺ pain 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 began to quarrel, and quarreling is not fitting in the presence of a prophet. They said, 'The Messenger of Allah ﷺ is delirious.' He said, 'Leave me be. The state I am in is better than what you are calling me to.' At his death he gave three instructions, 'Expel the polytheists from the Arabian Peninsula, give gifts to delegations as I used to give them,' and I forgot the third."Yaqub bin Muhammad said, I asked Mughira bin Abdul-Rahman about the Arabian Peninsula, and he said, "Mecca, Medina, Yamama, and Yemen."Yaqub said, "Arj is the beginning of Tihama."

Bukhari 3053

Sahih

حدثنا قبيصة حدثنا ابن عيينة عن سليمان الأحول عن سعيد بن جبير

عن ابن عباس رضي الله عنهما أنه قال

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

البخاري 3053صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
Whether one may seek intercession with the dhimmi and deal with them
Numbering
Darussalam 3053
Bukhari 3053