Sunan an-Nasa'i, Volume 3, Book 24, Hadith 2733 (DarusSalam)

It was narrated from Salim bin 'Abdullah that 'Abdullah bin 'Umar said; "during the Farewell Pilgrimage, the Messenger of Allah benefited from performing 'Umrah and then Hajj, and he brought a Hadi (sacrificial animal )with him from dhul-Hulaifah. The Messenger of Allah entered Ihram for 'Umrah frist, them for Hajj, and the people also benefited by entering Ihram for 'Umrah first, then for Hajj. Some of the people brought the Hadi and carried it along with them, and other s did not. When the Messenger of Allah came to Makkah, he said to the people: 'Whoever among you has brought a Hadi, nothing is permissible for him that became forbidden when he entered Ihram, until he has finished his Hajj, Whoever did not find a Hadi, let him fast for three days during the Hajj, and for seven when he returns to his family, the Messenger of Allah performed Tawaf when he came to Makkah and touched the corner (where the Black Stone is) first of all, then he walked rapidly during the first three of the seven circles, and walked daring the last four. After he finished circumambulating the House he prayed two Rak'ahs at Maqam Ibrahim. Then he went to As-Safa and walked seven rounds between As-Safa and Al-Marwah. And he did not do any action that was forbidden because of Ihram until he had completed his Hajj and slaughtered his Hadi on the Day of sacrifice. Then he hastened onward (toard Makkah) and circumambulated the House. Then everything that had been forbidden because of Ihram became permissible. And those who had brought the Hadi with them did the same as the Messenger of Allah did.

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

sunnah.com