The Prophet (ﷺ) said, "If I were to take a Khalil, I would have taken him (i.e. Abu Bakr)…

Sahih al-Bukhari Book 62 Hadith 9

Sahih al-Bukhari #3657

Companions of the Prophet 62:9

Narrated Aiyub:

The Prophet (ﷺ) said, "If I were to take a Khalil, I would have taken him (i.e. Abu Bakr) as a Khalil, but the Islamic brotherhood is better."

Chapter: "If I were to take Khalil ..."

Grade: Sahih