Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:1881Musaddad > Khālid b. ʿAbdullāh > Yazīd b. Abū Ziyād > ʿIkrimah > Ibn ʿAbbās

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.  

أبو داود:١٨٨١حَدَّثَنَا مُسَدَّدٌ حَدَّثَنَا خَالِدُ بْنُ عَبْدِ اللَّهِ حَدَّثَنَا يَزِيدُ بْنُ أَبِي زِيَادٍ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ

أَنَّ رَسُولَ اللَّهِ ﷺ قَدِمَ مَكَّةَ وَهُوَ يَشْتَكِي فَطَافَ عَلَى رَاحِلَتِهِ كُلَّمَا أَتَى عَلَى الرُّكْنِ اسْتَلَمَ الرُّكْنَ بِمِحْجَنٍ فَلَمَّا فَرَغَ مِنْ طَوَافِهِ أَنَاخَ فَصَلَّى رَكْعَتَيْنِ  


See similar narrations below:

Collected by Aḥmad
ahmad:2772Ḥusayn b. Muḥammad > Yazīd / Ibn ʿAṭāʾ > Yazīd / Ibn Abū Ziyād > ʿIkrimah > Ibn ʿAbbās

[Machine] The Prophet ﷺ came and he had complained, so he went around the house on a camel, and with him was a container. Whenever he passed by it, he would take hold of it. When he finished his circumambulation, he untied it and prayed two units of prayer.  

أحمد:٢٧٧٢حَدَّثَنَا حُسَيْنُ بْنُ مُحَمَّدٍ حَدَّثَنَا يَزِيدُ يَعْنِي ابْنَ عَطَاءٍ عَنْ يَزِيدَ يَعْنِي ابْنَ أَبِي زِيَادٍ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ قَالَ

جَاءَ النَّبِيُّ ﷺ وَكَانَ قَدِ اشْتَكَى فَطَافَ بِالْبَيْتِ عَلَى بَعِيرٍ وَمَعَهُ مِحْجَنٌ كُلَّمَا مَرَّ عَلَيْهِ اسْتَلَمَهُ بِهِ فَلَمَّا فَرَغَ مِنْ طَوَافِهِ أَنَاخَ فَصَلَّى رَكْعَتَيْنِ