عَنْ أُمِّ عَطِيَّةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: لَمَّا نَزَلَتْ هَذِهِ الْآيَةُ {يُبَايِعْنَكَ عَلَى أَنْ لَا يُشْرِكْنَ بِاللَّهِ شَيْئًا … إِلَى قَوْلِهِ … وَلَا يَعْصِينَكَ فِي مَعْرُوفٍ} قَالَتْ: كَانَ مِنْهَا النِّيَاحَةُ، فَقُلْتُ: يَا رَسُولَ اللَّهِ! إِلَّا آلَ فُلَانٍ وَإِنَّهُمْ قَدْ كَانُوا أَسْعَدُونِي فِي الْجَاهِلِيَّةِ فَلَا بُدَّ لِي مِنْ أَنْ أُسْعِدَهُمْ، قَالَتْ: فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ: ((إِلَّا آلَ فُلَانٍ))
Sayyida Umm Atiyya (may Allah be pleased with her) says: When this verse was revealed: { ٰٓیاَیُّھَا النَّبِیُّ اِذَا جَآئَکَ الْمُؤْمِنٰتُ یُبَایِعْنَکَ عَلٰٓی اَنْ لَّا یُشْرِکْنَ بِاللّٰہِ شَیْئًا وَّلَا یَسْرِقْنَ وَلَا یَزْنِیْنَ وَلَا یَقْتُلْنَ اَوْلَادَھُنَّ وَلَا یَاْتِیْنَ بِبُھْتَانٍ یَّفْتَرِیْنَہٗ بَیْنَ اَیْدِیْھِنَّ وَاَرْجُلِھِنَّ وَلَا یَعْصِیْنَکَ فِیْ مَعْرُوْفٍ} (Surah Al-Mumtahina: 12), that is: O Prophet! When believing women come to you to pledge that they will not associate anything with Allah, will not steal, will not commit adultery, will not kill their children, will not bring a false charge, and will not disobey you in what is right—among these right things was also refraining from wailing (lamentation for the dead). I said: O Messenger of Allah! Such-and-such family supported me in wailing during the time of ignorance. Now it is necessary for me to support them. The Messenger of Allah (peace and blessings be upon him) said: (Alright) except for such-and-such family.