Sahih Muslim Book 7, Hadith Number 3064.

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

‘Aisha (Allah be pleased with her) said to the Messenger of Allah (may peace be upon him): Messenger of Allah, Safiyyah bint Huyayy has entered the state of menses, whereupon Allah’s Messenger (may peace be upon him) said: Perhaps she is going to detain us. Has she not circumambulated the House along with you (i.e. whether she has not performed Tawaf Ifada)? They said: Yes. He said: Then they should set out.