Sunan an-Nasa'i, Volume 5, Book 39, Hadith 4184 (DarusSalam)

It was narrated that Umm 'Atiyyah said: "When I wanted to give pledge to the Messenger of Allah, I said: 'O Messenger of Allah, women helped me (in wailing for the dead) during the Jahiliyyah; shall I go and help her (in wailing) and then come to you and give you my oath of allegiance?' He said: 'Go and help her.' So I went and helped her, then I came, and gave my pledge to the Messenger of Allah."

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

sunnah.com