Ibrahim (may Allah have mercy on him) said that the testimony of a mentally disturbed person is not valid.