Sahih al-Bukhari, Hadith 1632

Narrated Ibn `Abbas: Allah's Messenger performed Tawaf (of the Ka`ba) ending a camel (at that time the Prophet had foot injury). Whenever he came to the Corner (having the Black Stone) he would point out towards it with a thing in his hand and say, "Allahu-Akbar."

حَدَّثَنِي إِسْحَاقُ الْوَاسِطِيُّ، حَدَّثَنَا خَالِدٌ، عَنْ خَالِدٍ الْحَذَّاءِ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم طَافَ بِالْبَيْتِ، وَهْوَ عَلَى بَعِيرٍ، كُلَّمَا أَتَى عَلَى الرُّكْنِ أَشَارَ إِلَيْهِ بِشَىْءٍ فِي يَدِهِ وَكَبَّرَ‏.‏

sunnah.com