The correct answer is C. finished.
The sentence is in the past tense, so we need to use a past tense verb. Of the four options, only finished is a past tense verb.
Has finished is the present perfect tense, which is used to talk about actions that started in the past and continue into the present. Will finish is the future tense, which is used to talk about actions that will happen in the future. Finish is the infinitive form of the verb, which is used to talk about actions in general.
In this case, we know that Peter finished his work 3 hours ago. This means that the action of finishing his work happened in the past and is now complete. Therefore, we need to use the past tense verb finished.