It is narrated from a Companion of the Prophet (peace and blessings be upon him), namely Sayyiduna Anas bin Malik (may Allah be pleased with him), that he said: "I saw the Messenger of Allah (peace and blessings be upon him) while Sayyiduna al-Hasan (may Allah be pleased with him) was sitting on his (peace and blessings be upon him) blessed thigh, and he (peace and blessings be upon him) was saying: 'Indeed, I hope that this son of mine will be a leader through whom Allah Almighty will bring about reconciliation between two groups of the Muslims.'"
Al-Nasa'i (may Allah have mercy on him) narrated it in "Amal al-Yawm wal-Laylah" through Muhammad bin Abd al-A'la, from Khalid bin al-Harith, from Ash'ath, from al-Hasan (may Allah have mercy on him), from some of the Companions of the Prophet (peace and blessings be upon him), namely Sayyiduna Anas (may Allah be pleased with him).
And in the book "al-Manaqib" it is narrated through Isma'il bin Mas'ud, from Khalid, more complete than the first.
Al-Ansari (may Allah have mercy on him) narrated it from Ash'ath, from al-Hasan (may Allah have mercy on him), from Sayyiduna Abu Bakrah (may Allah be pleased with him).
And al-Bukhari (may Allah have mercy on him) narrated it from the hadith of Isra'il, from al-Hasan (may Allah have mercy on him), from Sayyiduna Abu Bakrah (may Allah be pleased with him).