Yahya ibn Yahya al-Tamimi narrated to us, he said: Yazid ibn Zuray’ narrated to us, from Humayd, from Thabit, from Anas. And Ibn Abi ‘Umar narrated to us (and the wording is his), he said: Marwan ibn Mu’awiyah al-Fazari narrated to us, Humayd narrated to us, Thabit narrated to me, from Anas:
That the Prophet, peace and blessings be upon him, saw an old man being supported between his two sons. He said: "What is the matter with this man?" They said: He vowed to walk. He said: "Indeed, Allah is not in need of this man punishing himself," and he commanded him to ride.
Abu Hurairah (RA) reported: Allah's Apostle (ﷺ) found an old man walking between his two sons supported by them, whereupon Allah's Apostle (ﷺ) said: What is the matter with him? He (the narrator) said: Allah's Messenger, they are his sons and there is upon him the (fulfilment) of the vow, whereupon Allah's Apostle (ﷺ) said: Ride, old man, for Allah is not in need of you and your vow.
'Uqba bin Amir reported: My sister took a vow that she would walk bare foot to the house of Allah (Ka’bah). She asked me to inquire from Allah's Messenger (ﷺ) about it. I sought his decision and he said: She should walk on foot and ride also.