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]. (JA)
Reference (JA): Bulugh al-Maram 1389 (JA)
In-book reference (JA): Book 13, Hadith 16 (JA)
English translation (JA): Book 13, Hadith 1389 (JA)