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

'A'isha (Allah be pleased with her) reported that Allah's Messenger (ﷺ) inclined to do with Safiyyah what a man feels inclined to do with his wife. They said:

Messenger of Allah, she has entered the state of menses, whereupon he said: (Well) she is going to detain us. They (his wives) said: Messenger of Allah, she performed Tawaf Ziyara (Tawaf Ifada) on the Day of Nahr. Thereupon he said: Then she should proceed along with you
حَدَّثَنِي الْحَكَمُ بْنُ مُوسَى، حَدَّثَنِي يَحْيَى بْنُ حَمْزَةَ، عَنِ الأَوْزَاعِيِّ، - لَعَلَّهُ قَالَ - عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ، عَنْ مُحَمَّدِ بْنِ إِبْرَاهِيمَ التَّيْمِيِّ، عَنْ أَبِي سَلَمَةَ، عَنْ عَائِشَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم أَرَادَ مِنْ صَفِيَّةَ بَعْضَ مَا يُرِيدُ الرَّجُلُ مِنْ أَهْلِهِ ‏.‏ فَقَالُوا إِنَّهَا حَائِضٌ يَا رَسُولَ اللَّهِ ‏.‏ قَالَ ‏"‏ وَإِنَّهَا لَحَابِسَتُنَا ‏"‏ ‏.‏ فَقَالُوا يَا رَسُولَ اللَّهِ إِنَّهَا قَدْ زَارَتْ يَوْمَ النَّحْرِ ‏.‏ قَالَ ‏"‏ فَلْتَنْفِرْ مَعَكُمْ ‏"‏ ‏.‏
Reference : Sahih Muslim 1211af
In-book reference : Book 15, Hadith 431
USC-MSA web (English) reference : Book 7, Hadith 3065
  (deprecated numbering scheme)