Sahih Muslim Book 7, Hadith Number 3063.

Chapter : It is obligatory to perform farewell circumambulation, while a menstruating woman i., exempted from it.

‘Aisha (Allah be pleased with her) reported: We feared that Safiyyah might have entered the period of menses before performing Tawaf Ifada. Allah’s Messenger (may peace be upon him) came to us and said: Is Safiyyah going to detain us? Thereupon we said: She has performed Tawaf Ifada. He (the Holy Prophet) said: Then there is no detention (for us) now.