Language:
كتاب الحج
25  
Hajj (Pilgrimage)
(145)
Chapter: If a woman gets her menses after Tawaf-al-Ifada
(145)
باب إِذَا حَاضَتِ الْمَرْأَةُ بَعْدَ مَا أَفَاضَتْ
Sahih al-Bukhari 1760, 1761

Narrated Ibn `Abbas:

A menstruating woman was allowed to leave Mecca if she had done Tawaf-al-Ifada. Tawus (a subnarrator) said from his father, "I heard Ibn `Umar saying that she would not depart. Then later I heard him saying that the Prophet (ﷺ) had allowed them (menstruating women) to depart."

حَدَّثَنَا مُسْلِمٌ، حَدَّثَنَا وُهَيْبٌ، حَدَّثَنَا ابْنُ طَاوُسٍ، عَنْ أَبِيهِ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ رُخِّصَ لِلْحَائِضِ أَنْ تَنْفِرَ إِذَا أَفَاضَتْ‏.‏ قَالَ وَسَمِعْتُ ابْنَ عُمَرَ، يَقُولُ إِنَّهَا لاَ تَنْفِرُ‏.‏ ثُمَّ سَمِعْتُهُ يَقُولُ بَعْدُ إِنَّ النَّبِيَّ صلى الله عليه وسلم رَخَّصَ لَهُنَّ‏.‏
Reference : Sahih al-Bukhari 1760, 1761
In-book reference : Book 25, Hadith 237
USC-MSA web (English) reference : Vol. 2, Book 26, Hadith 814
  (deprecated numbering scheme)