Hadith 6:159
'Abd al-Salam ibn Harb narrated to us, from Hajjaj, from 'Ata', who said: There is no harm in a menstruating woman or a person in a state of major ritual impurity (junub) washing the deceased.
حدثنا عبد السلام بن حرب عن حجاج عن عطاء قال لا بأس أن يغسل الميت الحائض والجنب