It is narrated from Sayyidah Duba'ah (may Allah be pleased with her) that the Prophet (peace and blessings be upon him) ordered her to enter ihram, and she said: "I am ill." He (peace and blessings be upon him) said to her: "Make the condition that my place of leaving ihram is wherever You detain me." When Sayyiduna Ibn Abbas (may Allah be pleased with them both) heard this hadith, he said: "Praise be to Allah that I used to do exactly this, though I had heard nothing about it."
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 21211