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