Messenger of Allah ﷺ entered upon Dubaa bint Az-Zubair and said to her, "Do you have a desire to perform the Hajj?" She replied, "By Allah, I feel sick." He said to her, "Intend to perform Hajj and stipulate something by saying, 'O Allah, I will finish my Ihram at any place where You stop me (i.e. I am unable to go further)." She was the wife of Al-Miqdad bin Al-Aswad. (Using translation from Bukhārī 5089)
دَخَلَ رَسُولُ اللهِ ﷺ عَلَى ضُبَاعَةَ بِنْتِ الزُّبَيْرِ فَقَالَ لَهَا أَرَدْتِ الْحَجَّ؟ قَالَتْ وَالِلَّهِ مَا أَجِدُنِي إِلَّا وَجِعَةً فَقَالَ لَهَا حُجِّي وَاشْتَرِطِي وَقُولِي اللهُمَّ مَحِلِّي حَيْثُ حَبَسْتَنِي وَكَانَتْ تَحْتَ الْمِقْدَادِ