Sunan Ibn Majah – Hadith No : 121

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.'”

Hadith In Arabic Text :

حدثنا علي بن محمد، حدثنا أبو الحسين، أخبرني حماد بن سلمة، عن علي بن زيد بن جدعان، عن عدي بن ثابت، عن البراء بن عازب، قال أقبلنا مع رسول الله صلى الله عليه وسلم في حجته التي حج فنزل في الطريق فأمر الصلاة جامعة فأخذ بيد علي فقال ‏”‏ ألست أولى بالمؤمنين من أنفسهم ‏”‏ ‏.‏ قالوا بلى ‏.‏ قال ‏”‏ ألست أولى بكل مؤمن من نفسه ‏”‏ ‏.‏ قالوا بلى ‏.‏ قال ‏”‏ فهذا ولي من أنا مولاه اللهم وال من والاه اللهم عاد من عاداه ‏”‏ ‏.‏

Chapter : The Book of the Sunnah – كتاب المقدمة