Mishkat al-Masabih 1431
وَعَنْ أُمِّ عَطِيَّةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: أُمِرْنَا أَنْ نُخْرِجَ الْحُيَّضَ يَوْمَ الْعِيدَيْنِ وَذَوَاتَ الْخُدُورِ فَيَشْهَدْنَ جَمَاعَةَ الْمُسْلِمِينَ وَدَعْوَتَهُمْ وَتَعْتَزِلُ الْحُيَّضُ عَنْ مُصَلَّاهُنَّ قَالَتِ امْرَأَةٌ: يَا رَسُولَ اللَّهِ إِحْدَانَا لَيْسَ لَهَا جِلْبَابٌ؟ قَالَ: «لِتُلْبِسْهَا صَاحِبَتُهَا مِنْ جِلْبَابِهَا»
From Umm ʿAtiyyah, may Allah be pleased with her, who said: We were ordered to bring out the menstruating women on the days of the two ʿEids, and the secluded women, so that they could witness the congregation of the Muslims and their supplication, while the menstruating women keep away from their place of prayer. A woman said: "O Messenger of Allah, one of us does not have a jilbab?" He said: "Let her companion clothe her with one of her jilbabs."