رَحِمَ means ‘he showed mercy’ and is on فَعِلَ.

Three Past-Tense Patterns: فَعَلَ، فَعِلَ، فَعُلَ