Language:
كتاب النكاح
67  
Wedlock, Marriage (Nikaah)
(16)
Chapter: Husband and wife should have the same religion
(15)
باب الأَكْفَاءِ فِي الدِّينِ
Sahih al-Bukhari 5089

Narrated `Aisha:

Allah's Messenger (ﷺ) entered upon Dubaa bint Az-Zubair and said to her, "Do you have a desire to perform the Hajj?" She replied, "By Allah, I feel sick." He said to her, "Intend to perform Hajj and stipulate something by saying, 'O Allah, I will finish my Ihram at any place where You stop me (i.e. I am unable to go further)." She was the wife of Al-Miqdad bin Al-Aswad.

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