Hadith 1139

Umm 'Atiyyah said: When the Messenger of Allah (saws) 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 (saws) 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.

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

Reference: 911420
In-book reference: Book 2, Hadith 1139
Hadith 1139 - Prayer (Kitab Al-Salat) - Sunan Abi Dawud - Sunnah.com