Ibn ‘Abbas said When the Apostle of Allaah(ﷺ) came to Makkah he was ill. So, he performed the circumambulation on his Camel. He touched the corner (Black Stone) with a crooked stick as often as he came to it. When he finished the circumambulation, he made his Camel kneel down and offered two rak’ahs of prayer.
Hadith In Arabic Text :
حدثنا مسدد، حدثنا خالد بن عبد الله، حدثنا يزيد بن أبي زياد، عن عكرمة، عن ابن عباس، أن رسول الله صلى الله عليه وسلم قدم مكة وهو يشتكي فطاف على راحلته كلما أتى على الركن استلم الركن بمحجن فلما فرغ من طوافه أناخ فصلى ركعتين .
Chapter : The Rites of Hajj (Kitab Al-Manasik Wa’l-Hajj) – كتاب المناسك