Sunan Abi Dawud, Hadith 1135

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.

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

sunnah.com