Sahih Muslim 2145
Hazrat Abdullah bin Umar (ra) says: In the Farewell Pilgrimage the Messenger of Allah (saw) performed Umrah combined with Hajj and offered a sacrifice. He (saw) had taken the sacrificial animal with him from Dhul-Hulaifah. At first the Messenger of Allah (saw) entered the state of consecration (Ihram) for Umrah, then he (saw) declared it a state of consecration for Hajj (as well), and the people, with the Messenger of Allah (saw), took the benefit of combining Umrah with Hajj. Among the people were some who offered a sacrifice and had brought the sacrificial animal with them, and among them were also those who had not brought a sacrificial animal. When the Messenger of Allah (saw) came to Mecca, he (saw) said to the people: “Whoever of you has a sacrificial animal, nothing that had become unlawful for him becomes lawful until he has completed his Hajj. And whoever does not have a sacrificial animal with him should perform the circuits (Tawaf) of the House of Allah and of Safa and Marwah, have his hair cut and leave the state of consecration. Then he should enter the state of consecration for Hajj and offer a sacrifice, and whoever cannot afford a sacrifice should fast three days during the Hajj and seven when he returns to his family.” When the Messenger of Allah (saw) came to Mecca, he (saw) performed the circuits. The very first thing he (saw) did was to kiss the Corner (the Black Stone). Then of the seven rounds he (saw) went three at a brisk pace and four at a normal pace. Then, having completed the circuits of the House of Allah, he (saw) offered two Rak'ahs of Prayer (Salat) at the Station (of Abraham), then turned his face with the greeting of peace (Salam), went away and came to Safa. He (saw) made seven rounds of Safa and Marwah. Then nothing that had become unlawful because of the state of consecration became lawful until he (saw) had completed his Hajj and slaughtered his sacrificial animal on the day of sacrifice. He (saw) went back and performed the circuits of the House of Allah. Then everything that had become unlawful for him (saw) became lawful. And those among the people who offered a sacrifice and had brought the sacrificial animal with them did just as the Messenger of Allah (saw) had done.
AI-translated by Islam-Today