The best account is Jabir ibn Abdullah's report of the Prophet Muhammad ﷺ's Hajj. At the station (miqat) the pilgrim enters ihram, and says the talbiyah: 'Labbayk Allahumma labbayk, labbayka la sharika laka labbayk, inna al-hamda wa an-ni'mata laka wal-mulk, la sharika lak' (Here I am, O Allah, here I am; here I am, You have no partner, here I am; all praise and favour are Yours, and all sovereignty; You have no partner). In Mecca he circled the Kaaba seven times, prayed two rak'ahs behind the Station of Abraham, peace be upon him, and walked seven times between Safa and Marwa. Men in ihram do not wear sewn garments such as shirts and trousers.
On the eighth of Dhul Hijjah the pilgrims go to Mina. On the ninth they go to Arafah and stand there until sunset, praying and asking forgiveness; this is the heart of Hajj. After sunset they go calmly to Muzdalifah, pray Maghrib and Isha together, rest, and pray Fajr there. Before sunrise on the tenth they return to Mina, throw seven pebbles at the largest pillar (Jamarat al-Aqabah), saying Allahu Akbar with each, then sacrifice an animal, the meat of which is shared with the poor, cut or shave the hair, and go to Mecca for the tawaf of Ifadah around the Kaaba. The Prophet ﷺ also drank Zamzam.
On the next days the pilgrims stay in Mina and throw pebbles at the three pillars (the Quran mentions 'the appointed days' and allows leaving after two), and before leaving Mecca they make a farewell circuit of the Kaaba. The Prophet ﷺ said, 'Take your rites from me.' Millions of people do this together, in the same simple clothes, which is why many describe Hajj as the most humbling and unifying experience of their lives.
Pilgrims may perform Hajj in one of three forms, and scholars say all are valid. In ifrad the pilgrim performs Hajj alone; in qiran he joins Umrah and Hajj in one ihram, bringing a sacrificial animal; in tamattu' he performs Umrah first, leaves ihram, and enters ihram again for Hajj on the eighth of Dhul Hijjah. Jabir's report says that the Prophet ﷺ told the Companions who had not brought a sacrificial animal to end their ihram after the Umrah rites. Scholars differ over which form is best and over how the Prophet ﷺ himself performed his Hajj. The order above is that of ifrad and qiran; a pilgrim in tamattu' has already circled the Kaaba and walked between Safa and Marwa for his Umrah, and does both again for Hajj after Arafah.