قَالَ مَالِك فِي الْمَرْأَةِ : إِنَّهَا إِذَا اعْتَكَفَتْ ثُمَّ حَاضَتْ فِي اعْتِكَافِهَا إِنَّهَا تَرْجِعُ إِلَى بَيْتِهَا ، فَإِذَا طَهُرَتْ رَجَعَتْ إِلَى الْمَسْجِدِ أَيَّةَ سَاعَةٍ طَهُرَتْ ، ثُمَّ تَبْنِي عَلَى مَا مَضَى مِنَ اعْتِكَافِهَا
Malik, may Allah have mercy on him, said: If a woman observes i'tikaf, then she gets her menses, she should go to her home, and when she becomes pure, she should return to the mosque without delay, and continue her previous i'tikaf.