Al-Kāfi

Hadith 864
vow
19- عَلِيُّ بْنُ إِبْرَاهِيمَ عَنْ أَبِيهِ عَنِ ابْنِ أَبِي عُمَيْرٍ عَنْ رِفَاعَةَ وَحَفْصٍ قَالَ سَأَلْتُ أَبَا عَبْدِ اللهِ (عَلَيْهِ السَّلام) عَنْ رَجُلٍ نَذَرَ أَنْ يَمْشِيَ إِلَى بَيْتِ اللهِ حَافِياً قَالَ فَلْيَمْشِ فَإِذَا تَعِبَ فَلْيَرْكَبْ.
19. Ali ibn Ibrahim has narrated from his father from ibn abu ‘ Umayr from Rif‘ah and Hafs who has narrated the following: “I once asked abu ‘Abd Allah (a.s.), about the case of a man who makes a vow and commitment to walk to the House of Allah barefoot. He (the Imam) said, ‘He must walk and if he becomes tired, he can ride.’”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī