It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that he heard the Messenger of Allah (peace and blessings be upon him) say: "Whoever gives testimony against a servant (or, according to another narration, against a Muslim) that he is not (lawfully) qualified to give, let him take his seat in the Fire." Because some of its narrators are majhul (unknown), this hadith is technically da'if (weak).
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب الشهادات ومن تجوز شهادته ومن لا تجوز / 4941