آجَرَكُمُ اللهُ وَ رَحِمَكُمْ.
aajarakomul laaho wa rahemakum.
May Allah recompense you and have mercy on you.
From Shaheed al-Saani in Musakkin al-Fo’aad: From Imam Ali (a.s.): When the Holy Prophet (s.a.w.a.) gave condolence he (s.a.w.a.) would say:
بَارَكَ اللهُ لَكُمْوَ بَارَكَ اللهُ عَلَيْكُمْ.
baarakal laaho lakum wa baarakal laaho a’laykum.
May Allah bless you and keep you blessed.
And when he (s.a.w.a.) congratulated someone he (s.a.w.a.) would say: