Sahih Muslim , Book 7, Hadith 2757 (USC-MSA) ⓘ
A'isha (Allah be pleased with her) reported that Allah's Apostle went (to the house of) Duba'a bint al-Zubair b. Abd al-Muttalib. She said: Messenger of Allah, I intend to perform Hajj, but I am ill. Thereupon Allah's Apostle said: Enter Into the state of Ihram on condition that you would abandon it when Allah would detain you.
وَحَدَّثَنَا عَبْدُ بْنُ حُمَيْدٍ، أَخْبَرَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا مَعْمَرٌ، عَنِ الزُّهْرِيِّ، عَنْ عُرْوَةَ، عَنْ عَائِشَةَ، - رضى الله عنها - قَالَتْ دَخَلَ النَّبِيُّ صلى الله عليه وسلم عَلَى ضُبَاعَةَ بِنْتِ الزُّبَيْرِ بْنِ عَبْدِ الْمُطَّلِبِ فَقَالَتْ يَا رَسُولَ اللَّهِ إِنِّي أُرِيدُ الْحَجَّ وَأَنَا شَاكِيَةٌ . فَقَالَ النَّبِيُّ صلى الله عليه وسلم " حُجِّي وَاشْتَرِطِي أَنَّ مَحِلِّي حَيْثُ حَبَسْتَنِي " .
also referenced under: Book 15, Hadith 112 (In-Book) & Hadith 1207 (Reference)