Ibn Abbas reported
The people were commanded (by the Holy Prophet) to perform the last circumambulation round the House, but menstruating women were exempted.