Sahih Muslim, Book 44, Hadith 234 (Muslim 6337)

Jabir reported that a slave of Hatib came to Allah's Messenger (ﷺ) complaining against Hatib and said:

Hatib will definitely go to Hell. (But) Allah's Messenger (ﷺ) said: You tell a lie; he would not get into that for he had taken part in Badr and in (the expedition of) Hudaibiya.