The Messenger of Allah ﷺ said about Hasan bin Ali, "This son of mine is a master, and I hope that Allah will reconcile through him two factions of my Ummah."In Hammad's version of the hadith, he said, "Perhaps Allah will reconcile through him two great factions of the Muslims."
حدثنا مسدد ومسلم بن إبراهيم قال حدثنا حماد عن علي بن زيد عن الحسن عن أبي بكرة ح و حدثنا محمد بن المثنى عن محمد بن عبد الله الأنصاري قال حدثني الأشعث عن الحسن
قال رسول الله ﷺ للحسن بن علي إن ابني هذا سيد وإني أرجو أن يصلح الله به بين فئتين من أمتي وقال في حديث حماد ولعل الله أن يصلح به بين فئتين من المسلمين عظيمتين
[Sahih]. Tirmidhi also narrated it in the Book of Virtues, in the chapter "This son of mine is a leader..." (no. 3773), from the hadith of Muhammad bin Abdullah Ansari with this same wording. Bukhari also narrated it (no. 3629) from the hadith of Hasan Basri.