Correct option is C
The correct preposition to complete the sentence is:
(C) on
So the sentence would be: "The teacher congratulated the student on his success."
Using "on" in this context is the standard way to express congratulations for someone's achievements.