One Who Vows To Walk To The Ka'bah Sahih Muslim 1642

Arabic hadith text
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى التَّمِيمِيُّ، أَخْبَرَنَا يَزِيدُ بْنُ زُرَيْعٍ، عَنْ حُمَيْدٍ، عَنْ ثَابِتٍ، عَنْ أَنَسٍ، ح. وَحَدَّثَنَا ابْنُ أَبِي عُمَرَ، - وَاللَّفْظُ لَهُ - حَدَّثَنَا مَرْوَانُ بْنُ مُعَاوِيَةَ الْفَزَارِيُّ، حَدَّثَنَا حُمَيْدٌ، حَدَّثَنِي ثَابِتٌ، عَنْ أَنَسٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم رَأَىَ شَيْخًا يُهَادَى بَيْنَ ابْنَيْهِ فَقَالَ ‏"‏مَا بَالُ هَذَا ‏"‏ ‏.‏ قَالُوا نَذَرَ أَنْ يَمْشِيَ ‏.‏ قَالَ ‏"‏ إِنَّ اللَّهَ عَنْ تَعْذِيبِ هَذَا نَفْسَهُ لَغَنِيٌّ ‏"‏ ‏.‏ وَأَمَرَهُ أَنْ يَرْكَبَ ‏.‏
Translation
Anas reported that Allah's Apostle (ﷺ) saw an old man being supported between his two sons. He (the Holy Prophet) said

What is the matter with him? They said: He had taken the vow to walk (on foot to the Ka'ba). Thereupon he (Allah's Apoitle) said: Allah is indifferent to his inflicting upon himself chastisement, and he commanded him to ride.