‘A’isha said that God’s messenger went in to visit Duba'a daughter of az-Zubair and said to her, “Perhaps you intended to perform the pilgrimage ?” She replied, “I swear by God that I am suffering from pain,” so he said, “Perform the pilgrimage, but make a proviso saying, ‘O God, the place where I take off the ihram will be where Thou restrainest me’.”
Bukhari and Muslim.