No. The narrator is Ellis "Red" Redding (Morgan Freeman)—he did not kill anyone. He was imprisoned for a gambling-related crime.
Andy Dufresne (Tim Robbins) is the one wrongly convicted of murdering his wife and her lover. The story follows Andy’s resilience and Red’s evolving hope.
Confusing the narrator with the protagonist is common but incorrect.