Sahih Muslim Book 7, Hadith Number 3062.

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

Abd al-Rahman b. al Qasim narrated on the authority of ‘Aisha (Allah be pleased with her) that she made a mention to Allah’s Messenger (may peace be upon him) that Safiyyah had entered the period of menses. The rest of the Hadith is the same.