Yazid bin Sharik Taimi says that Ali (may Allah be pleased with him) delivered a sermon among us and said: Whoever claims that we have anything besides Allah’s Book and this scroll—in which are the rulings regarding the ages of camels and wounds—that we read, he is lying. Ali (may Allah be pleased with him) said: In this scroll, it is also written that the Messenger of Allah (peace and blessings be upon him) said: “From ‘Ir to Thawr, Madinah is a sanctuary. Whoever introduces an innovation in it, or gives refuge to an innovator, upon him is the curse of Allah, His angels, and all people. On the Day of Resurrection, Allah will not accept any obligatory or voluntary act of worship from him. And whoever claims lineage to someone other than his (real) father, or claims as his master someone other than his (real) freedman, upon him is the curse of Allah, His angels, and all people. Neither his obligatory nor his voluntary acts of worship will be accepted. The protection given by the Muslims is one; even the least of them can grant protection on their behalf.” __QUR_N__ __XREF_N__ __REF_N__
Imam Tirmidhi says: 1- This hadith is Hasan Sahih (good and authentic), 2- Some people have narrated a similar hadith through the chain of «عن الأعمش عن إبراهيم التيمي عن الحارث بن سويد عن علي», 3- This hadith has come from several chains from Ali, from the Prophet (peace and blessings be upon him).
Hadith Referenceسنن ترمذي / كتاب الولاء والهبة عن رسول الله صلى الله عليه وسلم / 2127
Hadith Gradingالألبانی:صحيح، الإرواء (1058) ، نقد الكتانى (42) ، صحيح أبي داود (1773 و 1774)