Al-A'raj (may Allah have mercy on him) said that the Messenger of Allah (peace and blessings be upon him) said: "The testimony of one who makes accusations, of a madman, and of one who holds enmity against another shall not be accepted."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 20859