It was narrated that ‘Uqbah bin ‘Amir said: “My sister vowed to walk to the House of Allah, and she told me to ask the Messenger of Allah صلی اللہ علیہ وآلہ وسلم about that. So I asked the Prophet صلی اللہ علیہ وآلہ وسلم for her and he said:
‘Let her walk, and let her ride.” (Sahih)