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 (ﷺ).
Sahih Muslim Book 15, Hadith 115