From Sahih Muslim (Hadith 2906):
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 (ﷺ)
Reference: Muslim 2906