Abu Hurairah reported,

The Prophet ﷺ came upon an old man walking between his two sons, leaning upon them for support.The Prophet ﷺ asked, "What is the matter with this man?"His two sons replied, "Messenger of Allah, he had taken a vow."The Prophet ﷺ said, "Ride, old man, for Allah has no need of you or your vow."The wording is that of Qutayba and Ibn Hajar.

Muslim 4248

Sahih

و حدثنا يحيى بن أيوب وقتيبة وابن حجر قالوا حدثنا إسمعيل وهو ابن جعفر عن عمرو وهو ابن أبي عمرو عن عبد الرحمن الأعرج

عن أبي هريرة

أن النبي ﷺ أدرك شيخا يمشي بين ابنيه يتوكأ عليهما فقال النبي ﷺ ما شأن هذا قال ابناه يا رسول الله كان عليه نذر فقال النبي ﷺ اركب أيها الشيخ فإن الله غني عنك وعن نذرك واللفظ لقتيبة وابن حجر

مسلم 4248صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Vows
Chapter
One who vowed to walk to the Kaaba
Numbering
Darussalam 4248
Muslim 4248