After tawaf
The two rak'ahs and Maqam Ibrahim
When your seventh circuit ends, men cover the right shoulder again, and you pray two rak'ahs.
Allah says in the Qur'an: take the station of Ibrahim as a place of prayer. The station, Maqam Ibrahim, is a stone in a glass and gold case near the Kaaba. It carries two footprints, traditionally those of Ibrahim عليه السلام as he stood on it to build the upper walls while Ismail عليه السلام passed him the stones. Umar رضي الله عنه moved it back from the Kaaba wall to give people room, which tells you something: even the sacred places were arranged for people's safety.
If there is space, you pray with the Maqam between you and the Kaaba. If it's crowded, which it usually is, you move away from the flow and pray anywhere in the mosque. That is completely valid. Praying in the path of people doing tawaf is not.
It is Sunnah to recite Surah al-Kafirun in the first rak'ah and Surah al-Ikhlas in the second. Both are short. If you don't know them by heart, learn them before you go.
You will see people wiping the glass of the Maqam or tying notes to it. That isn't from the Prophet ﷺ or his companions. The Sunnah here is the prayer.
How the schools differ here
- HanafiThese two rak'ahs are required (wajib) after every tawaf. Pray them before moving on.
- HanbaliThese two rak'ahs are a Sunnah. Pray them if you can.
- MalikiThese two rak'ahs are required (wajib) after this tawaf. Pray them before you leave the mosque.
- Shafi'iThese two rak'ahs are a Sunnah. Pray them if you can.
