حَدَّثَنَا مُسْلِمُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا وُهَيْبٌ، حَدَّثَنَا أَيُّوبُ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ وَلَوْ كُنْتُ مُتَّخِذًا مِنْ أُمَّتِي خَلِيلاً لاَتَّخَذْتُ، أَبَا بَكْرٍ وَلَكِنْ أَخِي وَصَاحِبِي "
Narrated Ibn `Abbas:
The Prophet (ﷺ) said, "If I were to take a Khalil, I would have taken Abu Bakr, but he is my brother and my companion (in Islam).
Reference: Sahih al-Bukhari 3656
In-book : Book 62, Hadith 8
USC-MSA web (English) : Vol. 5, Book 57, Hadith 8 (deprecated)