"The Messenger of Allah said: 'I have no need of the friendship of any Khalil (close friend) but if I were to have taken anyone as a close friend, I would have taken Abu Bakr as a close friend, but your companion is the close friend of Allah,'" (One of the narrators) Waki' said: (by the phrase 'your companion'), he was referring to himself. (Using translation from Ibn Mājah 93)
قَالَ رَسُولُ اللهِ ﷺ أَلَا إِنِّي أَبْرَأُ إِلَى كُلِّ خَلِيلٍ مِنْ خُلَّتِهِ وَلَوِ اتَّخَذْتُ خَلِيلًا لَاتَّخَذْتُ أَبَا بَكْرٍ خَلِيلًا إِنَّ صَاحِبَكُمْ خَلِيلُ اللهِ ﷻ