Hadith 11165
١١١٦٥ - حدثنا جرير عن مغيرة عن إبراهيم قال: كانوا إذا حضروا الرجل يموت أخرجوا الحيض.
Ibrahim says that when the Companions would be present near a deceased person, they would send menstruating women outside.
Hadith 11166
١١١٦٦ - حدثنا أبو معاوية عن الأعمش عن إبراهيم عن علقمة (جاءته) (١) ⦗٤٤٦⦘ امرأة (فقالت) (٢): إني (أعالج) (٣) مريضًا فأقوم عليه وأنا حائض فقال (لها) (٤): نعم (فإذا) (٥) حضر فاجتنبي رأسه.
It is narrated from Ibrahim that a woman came to Hazrat Alqamah and said, "I treat patients, so can I stand near them while I am menstruating?" He replied, "Yes, when he is brought to you, avoid his head."
Hadith 11167
١١١٦٧ - حدثنا ابن أبي عدي عن أشعث عن الحسن أنه كان لا يرى بأسًا أن (تحضر) (١) الحائض الميت.
Hasan did not consider there to be any harm in a menstruating woman being present near the deceased.