Narrated Abu Az-Zubair:
from Jabir, that a slave of Hatib [bin Abi Balt'ah] came to the Messenger of Allah (ﷺ) complaining about Hatib. So he said: 'O Messenger of Allah (ﷺ)! Hatib is going to enter the Fire!' So the Messenger of Allah (ﷺ) said: 'You have lied! No one who participated in (the battle of) Badr and (the treaty of) Al-Hudaybiyah shall enter it.'"
English reference: Vol. 1, Book 46, Hadith 3864
Arabic reference: Book 49, Hadith 4238