Entering Mecca and the Circumambulation - Section 1 Mishkat al-Masabih 2570

Arabic hadith text
وَعَنْهُ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ طَافَ بِالْبَيْتِ عَلَى بَعِيرٍ كُلَّمَا أَتَى عَلَى الرُّكْنِ أَشَارَ إِلَيْهِ بِشَيْءٍ فِي يدِه وكبَّرَ. رَوَاهُ البُخَارِيّ
Translation

He said that God’s messenger went round the House on a camel, and as often as he came to the corner he pointed to it with something in his hand and said, “God is most great.” Bukhari transmitted it.