Sayyiduna Abdullah bin Abbas (may Allah be pleased with him) said: When (a woman) has performed the circumambulation on the Day of Sacrifice and then her menstruation begins, she may return (home). And Sayyiduna Zayd bin Thabit (may Allah be pleased with him) said that she should not return until she becomes pure and circumambulates the House (of Allah). Then after that he sent a message to Sayyiduna Abdullah bin Abbas (may Allah be pleased with him), and he narrated a hadith like the previous one.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 9763