ولا تقبلوا لهم شهادةً أبداً
Do not accept their testimony ever.
The legal analysis distinguishes giving testimony from a judge’s acceptance of testimony. A morally disqualified person’s testimony may be rejected in adjudication without treating the spoken act of testimony as nonexistent in every context.
This distinction supports a specific Hanafi discussion of witnesses to a marriage contract. It must not be expanded into the claim that every unreliable witness is acceptable for every legal purpose; courtroom admission remains a separate question.