Sunan an-Nasa'i, Volume 3, Book 24, Hadith 2766 (DarusSalam)

It was narrated from Ibn 'Abbas: 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.

أَخْبَرَنَا هَارُونُ بْنُ عَبْدِ اللَّهِ، قَالَ حَدَّثَنَا أَبُو دَاوُدَ، قَالَ حَدَّثَنَا حَبِيبٌ، عَنْ عَمْرِو بْنِ هَرِمٍ، عَنْ سَعِيدِ بْنِ جُبَيْرٍ، وَعِكْرِمَةُ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ ضُبَاعَةَ، أَرَادَتِ الْحَجَّ فَأَمَرَهَا النَّبِيُّ صلى الله عليه وسلم أَنْ تَشْتَرِطَ فَفَعَلَتْ عَنْ أَمْرِ رَسُولِ اللَّهِ صلى الله عليه وسلم ‏.‏

sunnah.com