Full Sharh — Sahih Muslim 4250
وَحَدَّثَنَا زَكَرِيَّاءُ بْنُ يَحْيَى بْنِ صَالِحٍ الْمِصْرِيُّ، حَدَّثَنَا الْمُفَضَّلُ، - يَعْنِي ابْنَ فَضَالَةَ - حَدَّثَنِي عَبْدُ اللَّهِ بْنُ عَيَّاشٍ، عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ، عَنْ أَبِي الْخَيْرِ، عَنْ عُقْبَةَ بْنِ عَامِرٍ، أَنَّهُ قَالَ نَذَرَتْ أُخْتِي أَنْ تَمْشِيَ، إِلَى بَيْتِ اللَّهِ حَافِيَةً فَأَمَرَتْنِي أَنْ أَسْتَفْتِيَ لَهَا رَسُولَ اللَّهِ صلى الله عليه وسلم فَاسْتَفْتَيْتُهُ فَقَالَ " لِتَمْشِ وَلْتَرْكَبْ " .
English Translation
Uqba b. Amir reported:My sister took a vow that she would walk bare foot to the house of Allah (Ka'ba). She asked me to inquire from Allah's Messenger (ﷺ) about it. I sought his decision and he said: She should walk on foot and ride also
Source
Sahih Muslim(صحيح مسلم)
The Book of Vows
Hadith Number
4250