Uqbah bin Amir (may Allah be pleased with him) said: My sister vowed to walk to the House of Allah, and she told me to seek a ruling from the Prophet (peace and blessings be upon him). I asked the Prophet (peace and blessings be upon him), and he (peace and blessings be upon him) said: "Let her walk, and let her also ride." The narrator said: Abu al-Khayr never parted from Uqbah.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النذور / 20112