Sahih Bukhari | Volume 3 | Hadith Number 253

Narrated by 'Aisha
One of the wives of Allah's Apostle practiced Itikaf with him while she ad bleeding in between her periods and she would see red (blood) or yellowish traces, and sometimes we put a tray beneath her when she offered the prayer.