Another way to check this conversion is to look strictly at which reporting verb pattern and pronoun each option uses, rather than the tense alone.
Matching both the reporting pattern and the original pronoun points to the same option.
Therefore, the correct answer is I said to him, "He is not working hard."