He informed him that Ali bin Abu Talib came out from the presence of the Messenger of Allah ﷺ during the illness from which he died. The people asked, "Abu Hasan, how has the Messenger of Allah ﷺ fared this morning?"Ali replied, "He has woken up, praise be to Allah, in a state of recovery."Abbas bin Abdul-Muttalib took him by the hand and said to him, "By Allah, within three days you will be a slave to the staff. By Allah, I see that the Messenger of Allah ﷺ will soon die of this illness of his. I recognize the faces of the sons of Abdul-Muttalib at the time of death. Let us go to the Messenger of Allah ﷺ and ask him with whom this matter of leadership will rest. If it is to be among us, we will know it, and if it is to be with others, we will know it, and he will give instructions concerning us."Ali said, "By Allah, if we ask the Messenger of Allah ﷺ for it and he refuses us, the people will never give it to us after him. By Allah, I will not ask the Messenger of Allah ﷺ for it."
أخبره أن علي بن أبي طالب خرج من عند رسول الله ﷺ في وجعه الذي توفي فيه، فقال الناس: يا أبا حسن! كيف أصبح رسول الله ﷺ؟ فقال: أصبح بحمد الله بارئا، فأخذ بيده عباس بن عبد المطلب فقال له: أنت والله بعد ثلاث عبد العصا، وإني والله لأرى رسول الله ﷺ سوف يتوفى من وجعه هذا، إني لأعرف وجوه بني عبد المطلب عند الموت، اذهب بنا إلى رسول الله ﷺ فلنسأله فيمن هذا الأمر، إن كان فينا علمنا ذلك، وإن كان في غيرنا علمناه، فأوصى بنا. فقال علي: إنا والله لئن سألناها رسول الله ﷺ فمنعناها لا يعطيناها الناس بعده، وإني والله لا أسألها رسول الله ﷺ.
Bukhari narrated it in Al-Maghazi (4447), from Ishaq (Ibn Rahawayh), who said, Bishr bin Shuayb bin Abu Hamza informed us, who said, my father narrated to me, from Zuhri, who said, Abdullah bin Kaab bin Malik Ansari informed me, that Abdullah bin Abbas informed him, and he related it.His saying, "You, by Allah, after three days will be a servant of the staff." Hafiz said, this is a figurative expression for one who becomes subordinate to another, and the meaning is that he will die after three days, and you will become one placed in authority over yourself. Fath al-Bari (8/143).