From Sahih Muslim (Hadith 6175):
Abdullah reported Allah's Messenger (ﷺ) as saying:If I were to choose amongst the people of earth someone as my bosom friend, I would have chosen the son of Abu Quhafa as my friends but God has taken your companion as a friend
Reference: Muslim 6175