Jami At Tirmidhi
3655
Sahih+3

Narrated 'Abdullah:that the Messenger of Allah (ﷺ) said: "I free myself of the friendship of every Khalil, and if I were to take a Khalil then I would have taken Ibn Abi Quhafah as a Khalil. And indeed your companion is Allah's Khalil

SahihAhmad Muhammad Shakir
SahihAl-Albani