Hadithcore
Sunan Abi Dawud, 1139
da’if· Al-Albani

Umm 'Atiyyah said:

When the Messenger of Allah (ﷺ) came to Medina, he gathered the women of Ansar in a house, and sent to us (to them) 'Umar b. al-Khattab. He stood at the door and gave the salutation to us and we returned it (the salutation) to him. Thereupon, he said: I am the messenger of the Messenger of Allah (ﷺ) to you. He commanded us to bring out the menstruating women and the virgins for both the 'Id prayers, and that the Friday prayer is not obligatory on us. He prohibited us to accompany the funeral procession.

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

References2 variants
In-Book Reference
Book 2, Hadith 750
English Reference
Book 2, Hadith 1135