He traced it back to the Prophet ﷺ that a woman in postnatal bleeding and a menstruating woman should perform the ritual bath, enter the state of ihram, and complete all the rites of pilgrimage, except that she does not perform circumambulation of the House until she becomes pure.
حدثنا مروان بن شجاع حدثني خصيف عن عكرمة ومجاهد وعطاء
رفعه إلى النبي ﷺ أن النفساء والحائض تغتسل وتحرم وتقضي المناسك كلها غير أن لا تطوف بالبيت حتى تطهر