أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، قَالَ أَنْبَأَنَا سُفْيَانُ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ الْقَاسِمِ، عَنْ أَبِيهِ، عَنْ عَائِشَةَ، قَالَتْ خَرَجْنَا مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم لاَ نُرَى إِلاَّ الْحَجَّ فَلَمَّا كَانَ بِسَرِفَ حِضْتُ فَدَخَلَ عَلَىَّ رَسُولُ اللَّهِ صلى الله عليه وسلم وَأَنَا أَبْكِي فَقَالَ ‏"‏ مَا لَكِ أَنَفِسْتِ ‏"‏ ‏.‏ فَقُلْتُ نَعَمْ ‏.‏ قَالَ ‏"‏ هَذَا أَمْرٌ كَتَبَهُ اللَّهُ عَزَّ وَجَلَّ عَلَى بَنَاتِ آدَمَ فَاقْضِي مَا يَقْضِي الْحَاجُّ غَيْرَ أَنْ لاَ تَطُوفِي بِالْبَيْتِ ‏"‏ ‏.‏ وَضَحَّى رَسُولُ اللَّهِ صلى الله عليه وسلم عَنْ نِسَائِهِ بِالْبَقَرِ ‏.‏

It was narrated that 'Aishah said: "We went out with the Messenger of Allah (PBUH) with no intention other than Hajj. When he was in Sarif [1] I began menstruating. The Messenger of Allah (PBUH) entered upon me and I was weeping. He said: 'What is the matter with you? Has your Nifas begun?' [2] I said: 'Yes.' He said: 'This is something that Allah the Mighty and Sublime has decreed for the daughter of Adam. Do what the pilgrims do, but do not perform tawaf around the House.' And the Messenger of Allah (PBUH) sacrificed a cow on behalf of his wives."[1] Sarif is a place between Al-Madinah and Makkah, near Makkah.[2] Here, it means menstruation. See the chapter clarifying that where it appears again, No. 349. Translation Not Available

Book Ref: Sunan An Nisai Book 1 Hadith 291
Web Ref:  Sunan An Nisai Not Available