Sayyidah Aishah (may Allah be pleased with her) says that the Messenger of Allah (peace and blessings be upon him) said: "The testimony of a treacherous man or woman, of one upon whom a prescribed punishment (hadd) has been carried out, of one who harbours rancour against his brother, of one known to have given false testimony, and of one suspected regarding his clientage (wala') or kinship, is not permissible."
This Yazid bin Abi Ziyad, who is also called Ibn Ziyad al-Shami, is da'if (weak).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 20570