Sahih al-Bukhari, Book 65, Hadith 364 (Bukhari 4636)

Narrated Thabit bin Ad-Dahhak:

who was one of the companions of the tree (those who swore allegiance to the Prophet (ﷺ) beneath the tree at Al-Hudaibiya):