It is narrated from Sayyidah Duba'ah bint al-Zubayr bin Abd al-Muttalib (may Allah be pleased with her), who was married to al-Miqdad bin al-Aswad (may Allah be pleased with him), the Companion of the Messenger of Allah (peace and blessings be upon him), that the Prophet (peace and blessings be upon him) visited her and said: "Perhaps you intend to perform Hajj?" She said: "By Allah, I find myself nothing but ill." So the Messenger of Allah (peace and blessings be upon him) said to her: "Perform Hajj and make a condition; say: 'O Allah! My place of leaving ihram is wherever You detain me.'"
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 21205