Suppose a person is asked to testify in court where telling the truth could result in significant harm to another person. What factors should they consider in balancing their duty to truthfulness with the potential consequences, according to Islamic teachings?