“Raḥimahu Allāh” can function as a prayer despite its past-tense form.

Al-Faṣl: Separation of Clauses and Its Rhetorical Grounds