Mishkat al-Masabih

Jabir said that when God’s messenger came to Mecca he went to the stone and touched it, then moved to his right, running three circuits and walking four. Muslim transmitted it.

وَعَنْ جَابِرٍ قَالَ: إِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لَمَّا قَدِمَ مَكَّةَ أَتَى الْحَجَرَ فَاسْتَلَمَهُ ثُمَّ مَشَى عَلَى يَمِينِهِ فَرَمَلَ ثَلَاثًا وَمَشى أَرْبعا. رَوَاهُ مُسلم