Language:
كتاب النكاح
67  
Wedlock, Marriage (Nikaah)
(105)
Chapter: If a man takes the permission of his wives so as to stay in the house of one of them
(104)
باب إِذَا اسْتَأْذَنَ الرَّجُلُ نِسَاءَهُ فِي أَنْ يُمَرَّضَ فِي بَيْتِ بَعْضِهِنَّ، فَأَذِنَّ لَهُ‏.‏
Sahih al-Bukhari 5217

Narrated `Aisha:

that during his fatal ailment, Allah's Messenger (ﷺ), used to ask his wives, "Where shall I stay tomorrow? Where shall I stay tomorrow?" He was looking forward to Aisha's turn. So all his wives allowed him to stay where he wished, and he stayed at `Aisha's house till he died there. `Aisha added: He died on the day of my usual turn at my house. Allah took him unto Him while his head was between my chest and my neck and his saliva was mixed with my saliva.

حَدَّثَنَا إِسْمَاعِيلُ، قَالَ حَدَّثَنِي سُلَيْمَانُ بْنُ بِلاَلٍ، قَالَ هِشَامُ بْنُ عُرْوَةَ أَخْبَرَنِي أَبِي، عَنْ عَائِشَةَ ـ رضى الله عنها ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ يَسْأَلُ فِي مَرَضِهِ الَّذِي مَاتَ فِيهِ ‏ "‏ أَيْنَ أَنَا غَدًا أَيْنَ أَنَا غَدًا ‏"‏‏.‏ يُرِيدُ يَوْمَ عَائِشَةَ، فَأَذِنَ لَهُ أَزْوَاجُهُ يَكُونُ حَيْثُ شَاءَ، فَكَانَ فِي بَيْتِ عَائِشَةَ حَتَّى مَاتَ عِنْدَهَا‏.‏ قَالَتْ عَائِشَةُ فَمَاتَ فِي الْيَوْمِ الَّذِي كَانَ يَدُورُ عَلَىَّ فِيهِ فِي بَيْتِي، فَقَبَضَهُ اللَّهُ، وَإِنَّ رَأْسَهُ لَبَيْنَ نَحْرِي وَسَحْرِي، وَخَالَطَ رِيقُهُ رِيقِي‏.‏
Reference : Sahih al-Bukhari 5217
In-book reference : Book 67, Hadith 150
USC-MSA web (English) reference : Vol. 7, Book 62, Hadith 144
  (deprecated numbering scheme)