“They said in ‘Aishah’s presence
that
‘Ali was appointed (by the Prophet (ﷺ) before he died), and she
said: ‘When was he appointed? He (the Prophet (ﷺ)) was resting
against my bosom, or in my lap, and he called for a basin, then he
became limp in my lap and died, and I did not realize it. So when did
he (ﷺ) appoint him?’”
Sunan Ibn Majah Book 6, Hadith 194