Humayd (may Allah have mercy on him) said: I heard Sayyiduna Anas bin Malik (may Allah be pleased with him), and then he mentioned a hadith with a similar meaning, adding: "Then when they arrived, they shook hands; so they were the first people to initiate handshaking."
Imam Ahmad (may Allah have mercy on him) narrated it through Affan and Abd al-Samad, from Hammad, from Humayd in abridged form, and the mention of handshaking is in it.
He also narrated it through Yahya bin Sa'id from Humayd.
And Yazid narrated it from Humayd.
Likewise through Abdullah bin Bakr from Humayd, from Sayyiduna Anas (may Allah be pleased with him), with similar wording; but they (these three narrators) did not mention the handshaking.
Abu Hatim Muhammad bin Idris al-Razi (may Allah have mercy on him) narrated it through Muhammad bin Abdullah al-Ansari from Humayd.
Imam al-Nasa'i (may Allah have mercy on him) narrated it in the Book of Virtues (al-Manaqib) from Muhammad bin al-Muthanna, from Khalid bin al-Harith, from Humayd, in a similar way.
Abu Hatim Ibn Hibban (may Allah have mercy on him) also narrated it through Umar bin Muhammad al-Hamdani, Ahmad bin Sa'id al-Hamdani and Ibn Wahb, from Yahya bin Ayyub, from Humayd.