Narrated `Aisha:One of the mothers of the faithful believers (i.e. the wives of the Prophet (ﷺ) ) did I`tikaf while she was having bleeding in between her periods
Hadith No. 311
Sahih al Bukhari