Anas bin Malik reported,

The Messenger of Allah ﷺ passed by an old man being supported between two others.He asked, "What is the matter with this man?"They replied, "He has vowed to walk."He said, "Allah has no need for this man to torment himself. Tell him to ride."So he ordered him to ride.

Nasai 3884

Sahih

أخبرنا محمد بن المثنى قال حدثنا خالد قال حدثنا حميد عن ثابت

عن أنس قال

مر رسول الله ﷺ بشيخ يهادى بين اثنين فقال ما بال هذا قالوا نذر أن يمشي قال إن الله غني عن تعذيب هذا نفسه مره فليركب فأمره أن يركب

النسائي 3884صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Oaths and vows
Chapter
What is obligatory for one who vowed to do something but was unable to fulfill it
Numbering
Darussalam 3884
Nasai 3884