Narrated 'Uqba bin 'Aamir (RA):
His sister took a vow to walk to Allah's House (for pilgrimage) barefooted. Then, she ordered him to consult Allah's Messenger (ﷺ), so he consulted him for a religious verdict and the Prophet (ﷺ) replied, "Let her walk and ride." [Agreed upon, and the wording is Muslim's]. (ES)
Reference (ES): Bulugh al-Maram 1389 (ES)
In-book reference (ES): Book 13, Hadith 16 (ES)
English translation (ES): Book 13, Hadith 1389 (ES)