"I saw the Prophet when he had completed his seven (circuits of Tawaf); he came to the edge of the Mataf and prayed two Rakahs, with nothing in between him and people who were circumambulating." (Daif) (Using translation from Nasāʾī 2959)
رَأَيْتُ النَّبِيَّ ﷺ حِينَ فَرَغَ مِنْ أُسْبُوعِهِ أَتَى حَاشِيَةَ الطَّوَافِ فَصَلَّى رَكْعَتَيْنِ وَلَيْسَ بَيْنَهُ وَبَيْنَ الطَّوَافِ أَحَدٌ