Sahih Muslim Book 7, Hadith Number 3058.
Chapter : It is obligatory to perform farewell circumambulation, while a menstruating woman i., exempted from it.
Ibn Abbas reported: The people were commanded (by the Holy Prophet) to perform the last circumambulation round the House, but menstruating women were exempted.