كتاب الحج
15  
The Book of Pilgrimage
(67)
Chapter: The farewell Tawaf is obligatory, but it is waived in the case of menstruating women
(67)
باب وُجُوبِ طَوَافِ الْوَدَاعِ وَسُقُوطِهِ عَنِ الْحَائِضِ
Sahih Muslim 1211 aa

'A'isha (Allah be pleased with her) reported:

Safiyyah bint Huyayy entered the period of menses after performing Tawaf Ifada. I made a mention of her menses to Allah's Messenger (ﷺ), whereupon Allah's. Messenger (ﷺ) remarked: Well, then she will detain us. I said: Messenger of Allah. she has performed Tawif Ifada and circumambulated the House, and it was after this that she entered the period of menses. Thereupon Allah's Messenger (ﷺ) said: (If it is so), then proceed forth.
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، حَدَّثَنَا لَيْثٌ، ح وَحَدَّثَنَا مُحَمَّدُ بْنُ رُمْحٍ، حَدَّثَنَا اللَّيْثُ، عَنِ ابْنِ شِهَابٍ، عَنْ أَبِي سَلَمَةَ، وَعُرْوَةَ، أَنَّ عَائِشَةَ، قَالَتْ حَاضَتْ صَفِيَّةُ بِنْتُ حُيَىٍّ بَعْدَ مَا أَفَاضَتْ - قَالَتْ عَائِشَةُ - فَذَكَرْتُ حِيضَتَهَا لِرَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ أَحَابِسَتُنَا هِيَ ‏"‏ ‏.‏ قَالَتْ فَقُلْتُ يَا رَسُولَ اللَّهِ إِنَّهَا قَدْ كَانَتْ أَفَاضَتْ وَطَافَتْ بِالْبَيْتِ ثُمَّ حَاضَتْ بَعْدَ الإِفَاضَةِ ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ فَلْتَنْفِرْ‏"‏ ‏.‏
Reference : Sahih Muslim 1211aa
In-book reference : Book 15, Hadith 426
USC-MSA web (English) reference : Book 7, Hadith 3060
  (deprecated numbering scheme)