When this verse was revealed:" When believing women came to thee giving thee a pledge that they will not associate aught with Allah, and will not disobey thee in good" (lx. 12), she (Umm Atiyya) said: In (this pledge) was also included wailing. I said: Messenger of Allah, except members of such a tribe who helped me (in lamentation) during pre-Islamic days, there is left no alternative for me, but that I should also help them. Upon this the Messenger of Allah ﷺ said: (Yes) but only in case of the members of such a tribe.
لَمَّا نَزَلَتْ هَذِهِ الآيَةُ { يُبَايِعْنَكَ عَلَى أَنْ لاَ يُشْرِكْنَ بِاللَّهِ شَيْئًا} { وَلاَ يَعْصِينَكَ فِي مَعْرُوفٍ} قَالَتْ كَانَ مِنْهُ النِّيَاحَةُ قَالَتْ فَقُلْتُ يَا رَسُولَ اللَّهِ إِلاَّ آلَ فُلاَنٍ فَإِنَّهُمْ كَانُوا أَسْعَدُونِي فِي الْجَاهِلِيَّةِ فَلاَ بُدَّ لِي مِنْ أَنْ أُسْعِدَهُمْ فَقَالَ رَسُولُ اللَّهِ ﷺ إِلاَّ آلَ فُلاَنٍ