The sister of Uqbah ibn Amir took a vow that she would perform hajj on foot, and she was unable to do so. The Prophet ﷺ said: Allah is not in need of the walking of your sister. She must ride and offer a sacrificial camel. (Using translation from Abū Dāʾūd 3303)
"إِنَّ الله تَعَالى غَنيٌّ عَنْ نَذْرِ أُخْتك فَلتَركَبْ وَلْتُهْدِ بَدَنةً ".