It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said to Duba'ah (may Allah be pleased with her): "Perform Hajj and make the condition that my place of leaving ihram is wherever You detain me."
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 21206