Companions of the Prophet
62/9. Chapter:
The merits of 'Ali bin Abi Talib رضي الله عنه
وَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لِعَلِيٍّ: «أَنْتَ مِنِّي وَأَنَا مِنْكَ». وَقَالَ عُمَرُ تُوُفِّيَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَهْوَ عَنْهُ رَاضٍ.The Prophet ﷺ said to 'Ali, "You are from me and I am from you." 'Umar said (about 'Ali), "Before Allah's Messenger ﷺ died, he had been pleased with him."
Sahih Bukhari
حَدَّثَنِي مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا غُنْدَرٌ، حَدَّثَنَا شُعْبَةُ، عَنْ سَعْدٍ، قَالَ سَمِعْتُ إِبْرَاهِيمَ بْنَ سَعْدٍ، عَنْ أَبِيهِ، قَالَ النَّبِيُّ صلى الله عليه وسلم لِعَلِيٍّ " أَمَا تَرْضَى أَنْ تَكُونَ مِنِّي بِمَنْزِلَةِ هَارُونَ مِنْ مُوسَى ".
And narrated Sad that the Prophet (ﷺ) said to 'Ali, "Will you not be pleased from this that you are to me like Aaron was to Moses?"
Reference : Sahih al-Bukhari 3706In-book reference : Book 62, Hadith 56USC-MSA web (English) reference : Vol. 5, Book 57, Hadith 56