Uqba bin Amir reported,

My sister vowed to walk to the House of Allah, and she asked me to seek a ruling for her from the Prophet ﷺ. So I sought his ruling, and he said, "Let her walk and let her ride."Wazad added in another narration, "barefoot."

Azami 7136

Sahih

عن عقبة بن عامر أنه قال

نذرت أختي أن تمشي إلى بيت الله، وأمرتني أن أستفتي لها النبي ﷺ، فاستفتيته، فقال: لتمش ولتركب وزاد في رواية: حافية.

الأعظمي 7136صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Oaths and vows
Chapter
Vows
Section
No fulfillment of a vow in disobedience
Numbering
Jami al-Kamil 7136 (2nd edition)
Azami 7136