Hisham bin Urwah narrates from his father that Sayyidah Aishah (may Allah be pleased with her) said: The Prophet (peace and blessings be upon him) passed by Sayyidah Duba'ah bint al-Zubayr (may Allah be pleased with her) while she was ill. He (peace and blessings be upon him) said: "Do you intend to perform Hajj?" She said: Yes. He (peace and blessings be upon him) said: "Then perform Hajj, make a stipulation and say: 'Allahumma mahilli haythu habastani' (O Allah, my place of leaving ihram is wherever You hold me back)."
Abd al-Jabbar, who is thiqah (trustworthy), narrated it from Sufyan with a connected chain, while others narrated it mursal.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 10103