Huzaifa bin Yaman reported,

What kept me from being present at Badr was that I had set out together with my father Husayl, and the disbelievers of Quraysh seized us. They said, "You intend to join Muhammad."We replied, "We intend nothing but Madinah."So they took from us a solemn covenant by Allah that we would go on to Madinah and not fight alongside him. We then came to the Messenger of Allah ﷺ and informed him of what had happened.He said, "Go on to Madinah. We will fulfill their covenant and seek Allah's help against them."

Ahmad 23354

Sahih

حدثنا عبد الله بن محمد وسمعته أنا من عبد الله بن أبي شيبة حدثنا أبو أسامة عن الوليد بن جميع حدثنا أبو الطفيل حدثنا

حذيفة بن اليمان قال

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

أحمد 23354صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Huzaifa bin Yaman
Numbering
Darussalam 23354
Ahmad 23354