Sayyiduna Abu Hurayrah (may Allah be pleased with him) said that the Prophet (peace and blessings be upon him) said: "The testimony of a close friend, a madman, and one who harbours rancour shall not be accepted either."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 20857