The Prophet ﷺ said, "The testimony of a treacherous man or treacherous woman is not acceptable." He rejected the testimony of the dependent servant and follower of a household when given on behalf of that household, but accepted it when given for others.
حدثنا يزيد عن محمد بن راشد عن سليمان بن موسى
أن النبي ﷺ قال لا تجوز شهادة خائن ولا خائنة ورد شهادة القانع الخادم والتابع لأهل البيت وأجازها لغيرهم