Abu Sinan Yazid bin Murrah al-Dili narrates: Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) fell severely ill, so much so that he remained ill for a long time, and we became anxious about him. Then he became well and recovered, so we said: "O Abu al-Hasan! Congratulations to you! All praise belongs to Allah Almighty, who has granted you well-being; we had begun to fear for you." He said: "But I had no fear for myself. The Truthful, the Confirmed in truth (peace and blessings be upon him), told me that I will not die until I am struck here" (Sayyiduna Ali (may Allah be pleased with him) said this while pointing to the front left side of his head) "and this spot is dyed with blood from it" (Sayyiduna Ali (may Allah be pleased with him) said this while taking hold of his beard). The Prophet (peace and blessings be upon him) had said: "You will be killed by the one who will be the most wretched of this Ummah, just as the one who hamstrung the she-camel of Allah was the most wretched of Banu so-and-so of the people of Thamud." The narrator says: So the Prophet (peace and blessings be upon him) attributed him to a sub-branch of the people of Thamud.
Abu Ya'la recorded it. Its chain contains the father of Ali bin al-Madini, who is da'if (weak).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب المناقب / 14781