Sunan Abu Dawud #3295
Oaths and Vows (Kitab Al-Aiman Wa Al-Nudhur) 22:54
Narrated Abdullah ibn Abbas:
A man came to Prophet (ﷺ) and said: Messenger of Allah, my sister has taken a vow to perform hajj on foot. The Prophet (ﷺ) said: Allah gets no good from the affliction your sister imposed on herself, so let her perform hajj riding and make atonement for her oath.