Translation
(25) Hajj (Pilgrimage)
كتاب الحج
(61) Chapter: Whoever pointed towards the Corner (Black Stone)
(61) باب مَنْ أَشَارَ إِلَى الرُّكْنِ إِذَا أَتَى عَلَيْهِ
Sahih al-Bukhari 1612 

Narrated Ibn `Abbas:

The Prophet (ﷺ) performed Tawaf of the Ka`ba while riding a camel, and whenever he came in front of the Corner, he pointed towards it (with something).

حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا عَبْدُ الْوَهَّابِ، حَدَّثَنَا خَالِدٌ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ طَافَ النَّبِيُّ صلى الله عليه وسلم بِالْبَيْتِ عَلَى بَعِيرٍ، كُلَّمَا أَتَى عَلَى الرُّكْنِ أَشَارَ إِلَيْهِ‏.‏
Reference : Sahih al-Bukhari 1612
In-book reference : Book 25, Hadith 98
USC-MSA web (English) reference : Vol. 2, Book 26, Hadith 681
  (deprecated numbering scheme)