It is narrated from Sayyiduna Ibn Amr (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: "The testimony of any treacherous man or woman, and the testimony of a person harbouring rancour against his brother, is not accepted. Also, the Noble Prophet (peace and blessings be upon him) did not accept the testimony of a servant in favor of his masters, but accepted it in favor of other people."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 7102