Hadith 771:63
'Affan narrated to us, Abu 'Awanah narrated to us, from al-Mughirah, from Abu 'Ubayd, from Maymun Abu 'Abd Allah, who said: Zayd ibn Arqam said, and I was listening: We descended with the Messenger of Allah, peace and blessings of Allah be upon him, in a valley called Wadi Khumm. He ordered the prayer, so he performed it during the intense heat of the day. He said: Then he addressed us. A garment was shaded for the Messenger of Allah, peace and blessings of Allah be upon him, over a Samurah tree from the sun. He said: "Do you not know, or do you not bear witness, that I am closer to every believer than his own self?" They said: "Yes." He said: "So whoever I am his Mawla (master/patron), then 'Ali is his Mawla. O Allah, befriend whoever befriends him, and be hostile to whoever is hostile to him."
حدثنا عفان، حدثنا أبو عوانة، عن المغيرة، عن أبي عبيد، عن ميمون أبي عبد الله قال: قال زيد بن أرقم: وأنا أسمع، نزلنا مع رسول الله صلى الله عليه وسلم بواد يقال له: وادي خم فأمر بالصلاة فصلاها بهجير، قال: فخطبنا، وظلل لرسول الله صلى الله عليه وسلم بثوب على شجرة سمرة من الشمس، فقال: " ألستم تعلمون، أو ألستم تشهدون، أني أولى بكل مؤمن من نفسه؟ " قالوا: بلى، قال: " فمن كنت مولاه، فإن عليا مولاه، اللهم وال من والاه وعاد من عاداه "