Ibn ʿAbbas (Allah be pleased with him) reported that Dubaʿa intended to perform Hajj, and the Messenger of Allah ﷺ commanded her (to enter into the state of Ihram) with condition. She did it in compliance with the command of Allah's Apostle ﷺ.
أَنَّ ضُبَاعَةَ أَرَادَتِ الْحَجَّ فَأَمَرَهَا النَّبِيُّ ﷺ أَنْ تَشْتَرِطَ فَفَعَلَتْ ذَلِكَ عَنْ أَمْرِ رَسُولِ اللَّهِ ﷺ