"The Prophet (ﷺ) passed by old man walking (while supported) between his two sons, so he said: 'What is the matter with this one?' They said: "O Messenger of Allah! He vowed to walk.' He said: 'Verily Allah [the Mighty and Sublime] is in no need of this person punishing himself.'" He said: "So he ordered him to ride."
Reference: Jami` at-Tirmidhi 1537 In-book : Book 20, Hadith 15 English translation : Vol. 3, Book 18, Hadith 1537
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.