أَخْبَرَنِي عَبْدُ الأَعْلَى بْنُ وَاصِلِ بْنِ عَبْدِ الأَعْلَى، قَالَ حَدَّثَنَا يَحْيَى بْنُ آدَمَ، عَنْ سُفْيَانَ، عَنْ جَعْفَرِ بْنِ مُحَمَّدٍ، عَنْ أَبِيهِ، عَنْ جَابِرٍ، قَالَ لَمَّا قَدِمَ رَسُولُ اللَّهِ صلى الله عليه وسلم مَكَّةَ دَخَلَ الْمَسْجِدَ فَاسْتَلَمَ الْحَجَرَ ثُمَّ مَضَى عَلَى يَمِينِهِ فَرَمَلَ ثَلاَثًا وَمَشَى أَرْبَعًا ثُمَّ أَتَى الْمَقَامَ فَقَالَ ‏"‏ ‏ Begin hadith 3‏ ‏"‏ ‏.‏ فَصَلَّى رَكْعَتَيْنِ وَالْمَقَامُ بَيْنَهُ وَبَيْنَ الْبَيْتِ ثُمَّ أَتَى الْبَيْتَ بَعْدَ الرَّكْعَتَيْنِ فَاسْتَلَمَ الْحَجَرَ ثُمَّ خَرَجَ إِلَى الصَّفَا ‏.‏

It was narrated that Jabir said: "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? Translation Not Available

Book Ref: Sunan An Nisai Book 24 Hadith 2939
Web Ref:  Sunan An Nisai Vol 3 Book 24 Hadith 2942