Abdullah bin Abbas reported,

Ahmad bin Salih narrated to us, Anbasa narrated to us, Yunus narrated to us from Ibn Shihab who said, Abdullah bin Kaab bin Malik informed me that Abdullah bin Abbas told him that Ali bin Abu Talib رضي الله عنه came out from the presence of the Prophet ﷺ during the illness in which he passed away.The people asked, "Abu Hasan, how has the Messenger of Allah ﷺ become this morning?"Ali replied, "By the praise of Allah, he has become well."Then Abbas took him by the hand and said, "Do you not see him? By Allah, after three days you will be a slave to the staff. By Allah, I see that the Messenger of Allah ﷺ will pass away from this illness, for I recognize the look of death in the faces of the sons of Abdul-Muttalib. Let us go to the Messenger of Allah ﷺ and ask him with whom this authority will rest. If it is to be among us, we will know it, and if it is to be among others, we will ask him to make a recommendation regarding us."Ali said, "By Allah, if we ask the Messenger of Allah ﷺ for it and he refuses us, the people will never grant it to us afterward. I will never ask the Messenger of Allah ﷺ for it."

Bukhari 6266

Sahih

حدثنا إسحاق أخبرنا بشر بن شعيب حدثني أبي عن الزهري قال أخبرني عبد الله بن كعب أن

عبد الله بن عباس أخبره

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

البخاري 6266صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Permission to enter
Chapter
Embracing and saying to someone "How are you this morning"
Numbering
Darussalam 6266
Bukhari 6266