That Duba'ah wanted to perform Hajj, so the Prophet Told here to stipulate a condition, and she acted upon the command of the Messenger of Allah.
Sunan an-Nasa'i Book 24, Hadith 147