(5) باب قَوْلِ النَّبِيِّ صلى الله عليه وسلم " لَوْ كُنْتُ مُتَّخِذًا خَلِيلاً " قَالَهُ أَبُو سَعِيدٍ
Narrated `Abdullah bin Abi Mulaika:
The people of Kufa sent a letter to Ibn Az-Zubair, asking about (the inheritance of) (paternal) grandfather. He replied that the right of the inheritance of (paternal) grandfather is the same as that of father if the father is dead) and added, "Allah's Messenger (ﷺ) said, ' If I were to take a Khalil from this nation, I would have taken him (i.e. Abu Bakr).
Reference: Sahih al-Bukhari 3658
In-book reference: Book 62, Hadith 10
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 5, Book 57, Hadith 10