My sister took a vow to walk on foot to the House of Allah (i.e. Ka'bah). She asked me to consult the Prophet ﷺ about her. So I consulted the Prophet ﷺ. He said: Let her walk and ride.
أَنْ أَسْتَفْتِيَ لَهَا رَسُولَ اللَّهِ ﷺ فَاسْتَفْتَيْتُ النَّبِيَّ ﷺ فَقَالَ لِتَمْشِ وَلْتَرْكَبْ