If someone says salām incorrectly to a person performing prayers, he must reply correctly based on obligatory precaution.