It is narrated from Sayyidah Aishah (may Allah be pleased with her) that one of the wives of the Prophet (peace and blessings be upon him) performed i'tikaf with him (peace and blessings be upon him) while she had prolonged bleeding (istihadah). She would see redness and yellowness, and sometimes we would place a basin beneath her while she prayed.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحيض / 1559