It is narrated from Aisha (may Allah be pleased with her), and she mentioned being in the state of Ihram with the Prophet (ﷺ), that she experienced menstruation during that time. The Prophet (ﷺ) instructed her to do all the acts that pilgrims do except for the circumambulation of the House (Ka'bah) and prayer, until she became pure.
Hadith Referenceمسند الإمام الشافعي / كتاب الطهارة / 114
Hadith Takhrijاخرجه البخاري: الحج، باب تقضى الحائض المناسك كلها الا الطواف بالبيت واذا سعى على غير وضوء بين الصفا والمروة : (1650) ، (294) و مسلم، الحج، باب بيان وجوه الاحرام .... الخ (1211).