Sahih Bukhari | Volume 1 | Hadith Number 308

Narrated by 'Aisha
One of the mothers of the faithful believers (i.e. the wives of the Prophet) did Itikaf while she was having bleeding in between her periods.