Jabir bin Abdullah reported,

A slave of Hatib came to the Messenger of Allah ﷺ complaining about Hatib and said, "Messenger of Allah, Hatib will surely enter the Fire."The Messenger of Allah ﷺ replied, "You have lied. He will not enter it, for he witnessed Badr and al-Hudaybiyyah."

Azami 10077

Sahih

عن جابر

أن عبدا لحاطب جاء رسول الله ﷺ يشكو حاطبا، فقال: يا رسول الله، ليدخلن حاطب النار، فقال رسول الله ﷺ: كذبت، لا يدخلها، فإنه شهد بدرا والحديبية.

الأعظمي 10077صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the Companions and reports about them
Chapter
Virtue of groups of the Companions
Section
Virtues of the people of Badr and Hudaybiya together
Numbering
Jami al-Kamil 10077 (2nd edition)
Azami 10077