كتاب الحج
15  
The Book of Pilgrimage
(42)
Chapter: It is permissible to circumambulate the Ka'bah on a camel and the like, And for one who is riding to touch the (black) stone with a crooked staff and the like.
(42)
باب جَوَازِ الطَّوَافِ عَلَى بَعِيرٍ وَغَيْرِهِ وَاسْتِلاَمِ الْحَجَرِ بِمِحْجَنٍ وَنَحْوِهِ لِلرَّاكِبِ
Sahih Muslim 1273 b

jabir b. 'Abdullah (Allah be pleased with them) reported that Allah's Apostle (ﷺ) circumambulated the House (and ran) between al-Safa and al-Marwa on the back of his she-camel, at the occasion of the Farewell Pilgrimage. so that the people should see him and he should be conspicuous, and they should be able to ask him (questions pertaining to religion), and the people had crowded round him. In the hadith transmitted on the authority of Ibn Khashram no mention Is made of:

" So that they should ask him."
وَحَدَّثَنَا عَلِيُّ بْنُ خَشْرَمٍ، أَخْبَرَنَا عِيسَى بْنُ يُونُسَ، عَنِ ابْنِ جُرَيْجٍ، ح وَحَدَّثَنَا عَبْدُ بْنُ حُمَيْدٍ، أَخْبَرَنَا مُحَمَّدٌ، - يَعْنِي ابْنَ بَكْرٍ - قَالَ أَخْبَرَنَا ابْنُ جُرَيْجٍ، أَخْبَرَنِي أَبُو الزُّبَيْرِ، أَنَّهُ سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ، يَقُولُ طَافَ النَّبِيُّ صلى الله عليه وسلم فِي حَجَّةِ الْوَدَاعِ عَلَى رَاحِلَتِهِ بِالْبَيْتِ وَبِالصَّفَا وَالْمَرْوَةِ لِيَرَاهُ النَّاسُ وَلِيُشْرِفَ وَلِيَسْأَلُوهُ فَإِنَّ النَّاسَ غَشُوهُ ‏.‏ وَلَمْ يَذْكُرِ ابْنُ خَشْرَمٍ وَلِيَسْأَلُوهُ فَقَطْ ‏.‏
Reference : Sahih Muslim 1273b
In-book reference : Book 15, Hadith 281
USC-MSA web (English) reference : Book 7, Hadith 2919
  (deprecated numbering scheme)