Ikrimah narrates from Ibn Abbas (may Allah be pleased with them both) that Uqbah bin Amir (may Allah be pleased with him) told the Prophet (peace and blessings be upon him) that his sister had vowed to walk to the House of Allah. He (peace and blessings be upon him) said: "Allah has no need of your sister's vow; let her perform Hajj riding, and in exchange for it offer a sacrificial camel (badanah)."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النذور / 20115