"The Prophet (ﷺ) passed by old man walking (while supported) between his two sons, so he…

Jami` at-Tirmidhi Book 20 Hadith 15

Jami` at-Tirmidhi #1537

The Book on Vows and Oaths 20:15

Narrated Anas:

"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."

Chapter: What Has been Related About One Who Takes An Oath To Walk And He Is Not Able To

Grade: Sahih (Darussalam)