Al-\áfi~ Abú al-Fat< Mu<ammad b. `Alí al-Na>anzí related in "al-Kha#á'i# al-`Alawiyyah" from al-\asan b. A<mad al-Muhrí [al-Muqrí] from A<mad b. `Abdalláh b. A<mad who said: Mu<ammad b. A<mad b. `Alí narrated to us, he said: Mu<ammad b. `Uthmán b. Abí Shaybah narrated to us, he said: Ya<yá al-\immání narrated to us, he said: Qays b. al-Rabí` narrated to us from Abí Hárún al-`Abdí from Abí Sa`íd al-Khudrí who said:
The Messenger of Alláh, blessings and salutations of Alláh on him, summoned the people to `Alí, may Alláh be pleased with him, in Ghadír Khumm. He gave instructions about the thorns under the tree and they were swept up. That was a Thursday. He called `Alí and took him by his upper arms and raised them up until the people saw the whiteness of the armpits of the Messenger of Alláh. They did not disperse until this verse was revealed: ‘Today I have perfected for you your religion...’ (5:3).
The Messenger of Alláh, blessings and salutations of Alláh on him, said: "Alláh is most Great at the perfection of religion and the completion of blessings, and the Lord’s acceptance of my mission and the mastership (wiláya) of `Alí, peace be upon him, after me."
Then he said: "Of whomsoever I am master (mawlá), `Alí is his master. O Alláh, befriend one who befriends him and be at enmity with one who is hostile to him; help the one who helps him and forsake the one who forsakes him."
\assán said: "Permit me, O Messenger of Alláh, to recite some verses on `Alí for you to hear." He said: "Recite, with the blessing of Alláh."
So \assán rose and said: "O elders of Quraysh, listen to my profession of the testimony of the Messenger of Alláh, blessings and salutations of Alláh on him, concerning the confirmed Wiláya:
On the day of al-Ghadír their Prophet calls to them at Khumm, so listen to the Messenger calling;
He says: Who is your master and your guardian? They said, without displaying blindness there:
Your God is our Master and you are our guardian, and you will not find among us anyone disobedient concerning the Wiláya.
He said to him: Rise, O `Alí, for I approve of you as Imám and guide after me."
This <adíth has many chains of transmission leading up to Abu Sa`íd al-Khudrí.