كتاب الحج
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 ae

'A'isha (Allah be pleased with her) said to the Messenger of Allah (ﷺ):

Messenger of Allah, Safiyyah bint Huyayy has entered the state of menses, whereupon Allah's Messenger (ﷺ) said: Perhaps she is going to detain us. Has she not clicumambulated the House along with you (i. e. whether she has not performed Tawaf Ifada)? They said: Yes. He said: Then they should set out.
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، قَالَ قَرَأْتُ عَلَى مَالِكٍ عَنْ عَبْدِ اللَّهِ بْنِ أَبِي بَكْرٍ، عَنْ أَبِيهِ، عَنْ عَمْرَةَ بِنْتِ عَبْدِ الرَّحْمَنِ، عَنْ عَائِشَةَ، أَنَّهَا قَالَتْ لِرَسُولِ اللَّهِ صلى الله عليه وسلم يَا رَسُولَ اللَّهِ إِنَّ صَفِيَّةَ بِنْتَ حُيَىٍّ قَدْ حَاضَتْ ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ لَعَلَّهَا تَحْبِسُنَا أَلَمْ تَكُنْ قَدْ طَافَتْ مَعَكُنَّ بِالْبَيْتِ ‏"‏ ‏.‏ قَالُوا بَلَى ‏.‏ قَالَ ‏"‏ فَاخْرُجْنَ ‏"‏ ‏.‏
Reference : Sahih Muslim 1211ae
In-book reference : Book 15, Hadith 430
USC-MSA web (English) reference : Book 7, Hadith 3064
  (deprecated numbering scheme)