In one narration the wording is: The narrator said: I gave the pledge of allegiance to the Prophet (peace and blessings be upon him). I said: "With the right hand (or: with your oath)?" The Prophet (peace and blessings be upon him) said: "Yes." Then he addressed us on the day of al-Aqabah; after this the narrator mentioned the whole hadith.
Ahmad recorded it, and its narrators are the narrators of the Sahih. Its various chains will come in the chapter on trials (fitan); before this, various chains of it have passed in the chapter on the sermons during Hajj, and some chains will come in the chapter on trials.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الديات / 10708