“When he finished seven (circuits of Tawaf), I saw the Messenger of Allah ﷺ come until he was parallel with the Corner, then he prayed two Rak’ah at the edge of the Mataf (area for Tawaf), and there was nothing between him and the people who were performing Tawaf.”
رَأَيْتُ رَسُولَ اللَّهِ ﷺ إِذَا فَرَغَ مِنْ سَبْعِهِ جَاءَ حَتَّى يُحَاذِيَ بِالرُّكْنِ فَصَلَّى رَكْعَتَيْنِ فى حَاشِيَةِ الْمَطَافِ وَلَيْسَ بَيْنَهُ وَبَيْنَ الطُّوَّافِ أَحَدٌ قَالَ ابْنُ مَاجَهْ هَذَا بِمَكَّةَ خَاصَّةً