Sunan an-Nasa'i #2959
The Book of Hajj 24:342
It was narrated that Al-Muttalib bin Wadaah said:
"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)