It is narrated from Sayyiduna al-Zubayr (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "By the One in whose Hand is the soul of Muhammad (peace and blessings be upon him)! You will not believe until you love one another. Shall I not tell you of something which, if you do it, you will love one another? Spread the greeting of peace (salam) among yourselves."
Imam Ahmad (may Allah have mercy on him) narrated it in his Musnad, and with him all of it is a single hadith, which he narrated from Yazid bin Harun (may Allah have mercy on him), from Hisham al-Dastuwa'i (may Allah have mercy on him) and Abu Mu'awiyah Shayban (may Allah have mercy on him).
Imam Ahmad (may Allah have mercy on him) also narrated it from Abd al-Rahman bin Mahdi (may Allah have mercy on him), from Harb bin Shaddad (may Allah have mercy on him), from Yahya bin Abi Kathir (may Allah have mercy on him), that Ya'ish bin al-Walid (may Allah have mercy on him) narrated to him that a freed slave of the family of al-Zubayr told him, and that Sayyiduna al-Zubayr (may Allah be pleased with him) narrated this hadith to him.
And he narrated it from Abu Amir (may Allah have mercy on him), from Ali bin al-Mubarak (may Allah have mercy on him), from Yahya bin Abi Kathir (may Allah have mercy on him), from Ya'ish (may Allah have mercy on him), that a freed slave of the family of al-Zubayr told him, and that Sayyiduna al-Zubayr (may Allah be pleased with him) narrated this hadith to him.
And he narrated it from Ibrahim bin Khalid (may Allah have mercy on him), from Rabah (may Allah have mercy on him), from Ma'mar (may Allah have mercy on him), from Yahya (may Allah have mercy on him), from Ya'ish (may Allah have mercy on him), from a freed slave of the family of al-Zubayr.
Imam al-Daraqutni (may Allah have mercy on him) was asked about it, and he said: "The correct view is the version of Harb bin Shaddad (may Allah have mercy on him) and those who corroborated him, which they narrated from Yahya (may Allah have mercy on him)."
Related hadith on this topic