Abdullah bin Shaddad reported,

I heard from my maternal aunt Maymunah, the wife of the Prophet ﷺ, that she used to be in her menses and would not pray, while she lay stretched out beside the prayer place of the Messenger of Allah ﷺ as he prayed on his small mat. When he prostrated, part of his garment would touch me.In another narration, the Messenger of Allah ﷺ would pray while I was beside him in my menses, and sometimes his garment would touch me when he prostrated.In another narration, the Prophet ﷺ would pray while I was sleeping at his side.

Azami 2530

Sahih

عن عبد الله بن شداد قال

سمعت خالتي ميمونة زوج النبي ﷺ أنها كانت تكون حائضا لا تصلي، وهي مفترشة بحذاء مسجد رسول الله ﷺ وهو يصلي على خمرته، إذا سجد أصابني بعض ثوبه. وفي رواية: كان رسول الله ﷺ يصلي وأنا حذاءه وأنا حائض، وربما أصابني ثوبه إذا سجد. وفي رواية: كان النبي ﷺ لا يصلي، وأنا إلى جنبه نائمة.

الأعظمي 2530صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Sutrah
Section
Those who said that a woman does not invalidate the prayer
Numbering
Jami al-Kamil 2530 (2nd edition)
Azami 2530