It is narrated from Ibn Abbas (may Allah be pleased with them) that he said: The people were commanded that their last act should be the circumambulation (Tawaf) of the House (Ka'bah), except that the Prophet ﷺ granted concession to the menstruating woman.
Hadith Referenceمسند الإمام الشافعي / كتاب الحج / 1033
Hadith Takhrijأخرجه البخاري، الحج، باب طواف الوداع (1755) مسلم، الحج، باب وجوب طواف الوداع (1348)۔
Tawoos narrated that I was with Ibn Abbas (may Allah be pleased with them) when Zaid bin Thabit (may Allah be pleased with him) said to him: "Do you give the verdict that menstruating women should return before performing the last circumambulation (Tawaf) of the House (Ka'bah)?" Ibn Abbas (may Allah be pleased with them) replied: "Yes." Zaid bin Thabit (may Allah be pleased with him) said: "Do not give such a verdict." Upon this, Ibn Abbas (may Allah be pleased with them) said: "If not, then ask such-and-such Ansari woman whether the Messenger of Allah (ﷺ) gave her this command?" Tawoos said that Zaid bin Thabit (may Allah be pleased with him) turned back laughing and said: "I think you have spoken correctly."
Hadith Referenceمسند الإمام الشافعي / كتاب الحج / 1034
Hadith Takhrijأخرجه مسلم، الحج، باب وجوب طواف الوداع وسقوطه عن الحائض (1328)۔
It is narrated from Tawus: He said, I was sitting with Ibn Umar (may Allah be pleased with them) when I heard him say that none of you should return until his last time is spent at the House of Allah (the Ka'bah). So I said, what is with him? Has he not heard what his companions have heard? Then the next year I (Tawus) sat with him again, and I heard him saying: They think that the Prophet ﷺ gave permission to the menstruating woman.
Hadith Referenceمسند الإمام الشافعي / كتاب الحج / 1035
Hadith Takhrijأخرجه البخاري، الحيض ، باب المرأة تحيض بعد الافاضة (330)، (1761) مرفوعا۔
It is narrated from Ibn Abbas (may Allah be pleased with them) that he said: People were commanded that their last act (before leaving) should be at the House of Allah (in the form of the Farewell Tawaf), except that the Prophet ﷺ granted concession to menstruating women.
Hadith Referenceمسند الإمام الشافعي / كتاب الحج / 1036
Hadith Takhrijأخرجه مسلم ، الحج، باب وجوب طواف الوداع وسقوطه عن الحائض (1328)۔