Uqba bin Amir reported,

My sister vowed to walk to the House of Allah and instructed me to seek a ruling from the Prophet ﷺ on her behalf. So I sought his ruling, and he ﷺ said, "Let her walk and let her ride."The narrator said, Abu Khayr would not part from Uqba.Abu Abdullah said, Abu Asim narrated to us from Ibn Jurayj, from Yahya bin Ayub, from Yazid, from Abu Khayr, from Uqba, and he mentioned the hadith.

Bukhari 1866

Sahih

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

عن عقبة بن عامر قال

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

البخاري 1866صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Game animal penalties
Chapter
One who vowed to walk to the Kaaba
Numbering
Darussalam 1866
Bukhari 1866