´Narrated Anas:` "A Woman vowed to walk to the House of Allah, so the Prophet (ﷺ) asked about that, and he said: 'Verily Allah is in no need of her walking, order her to ride.'"
Hadith Referenceسنن ترمذي / كتاب النذور والأيمان عن رسول الله صلى الله عليه وسلم / 1536
´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."
Hadith Referenceسنن ترمذي / كتاب النذور والأيمان عن رسول الله صلى الله عليه وسلم / 1537