It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said to Duba'ah (may Allah be pleased with her): "Perform Hajj and make a condition; say: 'O Allah! My place of leaving ihram is wherever You detain me.'"
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 21202