"When the Messenger of Allah came to Makkah he entered the Masjid and touched the Stone, then he moved to his right and walked rapidly for three (rounds) and then walked (at a regular pace) for four. Then he came to the Maqam and said: 'And take you (people) the Maqam (place) of Ibrahim as a place of prayer and prayed two Rakahs with the Maqam between him and the House. Then he came to the Hosue after praying those two Rakahs and touched the Stone, then he went out to As-Safa." (Sahih) Chpater 150. In How Many Rounds Should Be Quick? (Using translation from Nasāʾī 2939)
لَمَّا قَدِمَ رَسُولُ اللهِ ﷺ مَكَّةَ دَخَلَ الْمَسْجِدَ فَاسْتَلَمَ الْحَجَرَ ثُمَّ مَضَى عَلَى يَمِينِهِ فَرَمَلَ ثَلَاثًا وَمَشَى أَرْبَعًا ثُمَّ أَتَى الْمَقَامَ فَقَالَ {وَاتَّخِذُوا مِنْ مَقَامِ إِبْرَاهِيمَ مُصَلًّى} [البقرة 125] فَصَلَّى رَكْعَتَيْنِ وَالْمَقَامُ بَيْنَهُ وَبَيْنَ الْبَيْتِ ثُمَّ أَتَى الْبَيْتَ بَعْدَ الرَّكْعَتَيْنِ فَاسْتَلَمَ الْحَجَرَ ثُمَّ خَرَجَ إِلَى الصَّفَا