[Machine] "The heir inherits by lineage or loyalty, and there is no disagreement among the people of knowledge that the cousin does not inherit alongside the paternal uncle. It has been established by consensus that Ali inherited knowledge from the Prophet ﷺ more than they did, in accordance with what the judge mentioned." Imam al-Dhahabi did not mention it in his summary.
«إِنَّمَا يَرِثُ الْوَارِثُ بِالنَّسَبِ أَوْ بِالْوَلَاءِ وَلَا خِلَافَ بَيْنَ أَهْلِ الْعِلْمِ أَنَّ ابْنَ الْعَمِّ لَا يَرِثُ مَعَ الْعَمِّ فَقَدْ ظَهَرَ بِهَذَا الِإِجْمَاعِ أَنَّ عَلِيًّا وَرِثَ الْعِلْمَ مِنَ النَّبِيِّ ﷺ دُونَهُمْ وَبِصِحَّةِ مَا ذَكَرَهُ الْقَاضِي» سكت عنه الذهبي في التلخيص