He can tell the truth to someone who asks him for it with an evil intent, but if he is aware of the other person's evil intent then he ought to remonstrate with him and seek to convince him of the blameworthiness of his intention.