Hadith 3231

She said that during the illness of which God’s Messenger died he was asking, “Where do I go tomorrow? Where do I go tomorrow?” That was on ‘A’isha’s day. His wives therefore permitted him to go where he wished, and he stayed in ‘A’isha’s house till he died there. Bukhari transmitted it.

وَعَنْهَا أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ يَسْأَلُ فِي مَرَضِهِ الَّذِي مَاتَ فِيهِ: «أَيْنَ أَنَا غَدًا؟» يُرِيدُ يَوْمَ عَائِشَةَ فَأَذِنَ لَهُ أَزْوَاجُهُ يَكُونُ حَيْثُ شَاءَ فَكَانَ فِي بَيْتِ عَائِشَةَ حَتَّى مَاتَ عِنْدَهَا. رَوَاهُ الْبُخَارِيُّ

Reference: 5632310
In-book reference: Book 13, Hadith 3231
Hadith 3231 - Marriage - Mishkat al-Masabih - Sunnah.com