As it was narrated by ibn Asakir with a very weak chain, Ali (radi Allahu anh) said:
لا يجتمع حبي وبغض أبي بكر وعمر في قلب مؤمن
“Love of me, and hate of Abu Bakr and Umar couldn’t be together in the soul of believer”
Source: Mukhtasar Tarih Madinatul Dimashk 1/895
Similar words were narrated by sheikh Nabhani in “Ash-Sharaful Muabad li ali Muhammad” p 205; Ibn Hajar al-Heythami in “Sawaiq al-muhriqa” (2/452, Muasasat Risala, Beirut); Ajurri “Shariah”.