It was narrated that Bara' bin 'Azib said:
"We returned with the Messenger of Allah from his Hajj that he had performed, and we stopped at some point on the road. He commanded that prayer should be performed in congregation, then he took the hand of 'Ali and said: 'Am I not dearer to the believers than their own selves?' They said: 'Yes indeed.' He said: 'Am I not dearer to every believer than his own self?' They said: 'Yes indeed.' He said: 'This man is the friend of those whose master I am.' O Allah, take as friends those who take him as a friend, and take as enemies those who take him as an enemy.'"
حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ، حَدَّثَنَا أَبُو الْحُسَيْنِ، أَخَبَرَنِي حَمَّادُ بْنُ سَلَمَةَ، عَنْ عَلِيِّ بْنِ زَيْدِ بْنِ جُدْعَانَ، عَنْ عَدِيِّ بْنِ ثَابِتٍ، عَنِ الْبَرَاءِ بْنِ عَازِبٍ، قَالَ أَقْبَلْنَا مَعَ رَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ فِي حَجَّتِهِ الَّتِي حَجَّ فَنَزَلَ فِي الطَّرِيقِ فَأَمَرَ الصَّلاَةَ جَامِعَةً فَأَخَذَ بِيَدِ عَلِيٍّ فَقَالَ ‏"‏ أَلَسْتُ أَوْلَى بِالْمُؤْمِنِينَ مِنْ أَنْفُسِهِمْ ‏"‏ ‏.‏ قَالُوا بَلَى ‏.‏ قَالَ ‏"‏ أَلَسْتُ أَوْلَى بِكُلِّ مُؤْمِنٍ مِنْ نَفْسِهِ ‏"‏ ‏.‏ قَالُوا بَلَى ‏.‏ قَالَ ‏"‏ فَهَذَا وَلِيُّ مَنْ أَنَا مَوْلاَهُ اللَّهُمَّ وَالِ مَنْ وَالاَهُ اللَّهُمَّ عَادِ مَنْ عَادَاهُ ‏"‏ ‏.‏
GradeDa'if (Darussalam)
English reference : Vol. 1, Book 1, Hadith 116
Arabic reference : Book 1, Hadith 121