(81) باب تَقْضِي الْحَائِضُ الْمَنَاسِكَ كُلَّهَا إِلاَّ الطَّوَافَ بِالْبَيْتِ ، وَإِذَا سَعَى عَلَى غَيْرِ وُضُوءٍ بَيْنَ الصَّفَا وَالْمَرْوَةِ
Narrated `Aisha:
I was menstruating when I reached Mecca. So, I neither performed Tawaf of the Ka`ba, nor the Tawaf between Safa and Marwa. Then I informed Allah's Messenger (ﷺ) about it. He replied, "Perform all the ceremonies of Hajj like the other pilgrims, but do not perform Tawaf of the Ka`ba till you get clean (from your menses)."
Reference: Sahih al-Bukhari 1650
In-book reference: Book 25, Hadith 131
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 26, Hadith 712