Hadith 328
Narrated `Aisha: (the wife of the Prophet) I told Allah's Apostle that Safiya bint Huyai had got her menses. He said, "She will probably delay us. Did she perform Tawaf (Al-Ifada) with you?" We replied, "Yes." On that the Prophet told her to depart.
Hadith 329
Narrated Ibn `Abbas: A woman is allowed to leave (go back home) if she gets menses (after Tawaf-Al-Ifada).
Hadith 330
وَكَانَ ابْنُ عُمَرَ يَقُولُ فِي أَوَّلِ أَمْرِهِ : إِنَّهَا لَا تَنْفِرُ ، ثُمَّ سَمِعْتُهُ يَقُولُ : تَنْفِرُ ، إِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ رَخَّصَ لَهُنَّ " .
Ibn `Umar formerly used to say that she should not leave but later on I heard him saying, "She may leave, since Allah's Apostle gave them the permission to leave (after Tawaf-Al-Ifada)."