يا علي طوبى لمن أحبك وصدق فيك، وويل لمن أبغضك وكذب فيك.
O ‘Ali, glad tidings to the person who loves you and believes in you. And destruction upon the person who hates you and belies you.
This hadith is narrated from ‘Ammar ibn Yasir, Abu Ayub al Ansari, and ‘Ali radiya Llahu ‘anhum.
Al Hakim and others narrate this hadith — from Sa’id ibn Muhammad al Warraq — from ‘Ali ibn al Hazawwar — I heard Abu Maryam al Thaqafi — I heard ‘Ammar ibn Yasir radiya Llahu ‘anhu saying, “I heard the Messenger of Allah salla Llahu ‘alayhi wa sallam say to ‘Ali…”
Al Hakim authenticated the hadith. Al Dhahabi disagreed and said, “In fact, it contains the narrators Sa’id ibn Muhammad al Warraq and ‘Ali ibn al Hazawwar. They are both matruk (suspected of forgery).”
The hadith is as al Dhahabi says.
In another place, al Dhahabi says the hadith is batil (false).
Al Albani ruled the hadith to (also) be batil (false).
Ibn al Jawzi says the hadith is not authentic.
Ibn ‘Asakir and others also narrate this version of the hadith with a chain of transmission that is saqit (wholly unreliable). It contains the following defects:
Ibn al Maghazili and others narrated — from Sa’d ibn Tarif and Asbagh ibn Nubatah. Both of them are matruk and have been accused of lying.
It also contains the narrator Ishaq ibn Bishr. He is either al Kahili or al Bukhari. Both of them are kadhdhabs (liars).
It also contains the narrator Muhajir ibn Kathir. I do not know who he is. Perhaps he is the one whom Abu Hatim and al Azdi say is matruk al hadith (suspected of forgery in hadith).
Al Shajari also narrates this hadith — from ‘Ali ibn al Hazawwar and Asbagh ibn Nubatah. They are both matruk (suspected of forgery).
Al Shajari narrates from Musa ibn Ibrahim al Marwazi al A’war. His name is either Abu ‘Imran al Marwazi; in which case Yahya ibn Ma’in deemed him a kadhdhab (liar). Al Daraqutni and others said he is matruk (suspected of forgery); if he is someone else then he is majhul (unknown).
In short, the hadith is batil (false). All of its chains of transmission are wahiyah (feeble) and saqitah (wholly unreliable).
 Al Hakim: Mustadrak al Hakim, 3/4657.
 Al Dhahabi: Mukhtasar Talkhis al Dhahabi, 3/1480.
 Al Dhahabi: Mizan al I’tidal, 3/118.
 Al Albani: Silsilat al Ahadith al Da’ifah, 10/4895.
 Ibn al Jawzi: Kitab al Mawdu’at, 1/242.
 Ibn ‘Asakir: Tarikh Dimashq, 42/282.
 Ibn al Maghazili: Manaqib ‘Ali, hadith no. 159.
 Al Dhahabi: Mizan al I’tidal, 4/193; Ibn Hajar: Lisan al Mizan, 6/104.
 Al Shajari: al Amali, 2/2436.
 Al Shajari: al Amali, 2/698.
 Al Dhahabi: Mizan al I’tidal, 4/199.