It is narrated from Muhammad bin Ali (may Allah have mercy on him) that "I found a writing which was in the scabbard of the sword of the Messenger of Allah (peace and blessings be upon him) (in which it was written): Allah Almighty has cursed the one who strikes someone other than the one who struck him, and the one who kills someone other than his (actual) killer; and whoever takes as his patron and master someone other than his (actual) benefactor and guardian (wali al-ni'mah) has certainly disbelieved in the guidance and revelation that was sent down upon Muhammad (peace and blessings be upon him)."
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب الحدود / 3550
Hadith Gradingمحدثین:سكت عنه البوصيري، مرسل؛ إسناده حسن إلى محمد بن علي
Hadith Takhrij«محمد بن علي الباقر تابعي لم يدرك النبي ﷺ؛ وابن إسحاق صدوق صرح بالسماع (من الحفظ)؛ وابن أبي عمر وسفيان ثقتان»