Possibly ...
To Each his Own by Leonardo Sciascia .
The character is Professor Laurana.who becomes a sort of amateur detective after the two guys ,
Manno and Roscio are killed .He's a bachelor who lives with his mother and teaches literature .It's set in Sicily and he gets murdered too in the end .