Inna lillāhi mā akhadh,
wa lahu mā a`tā,
wa kullu shay'in `indahu bi ajalin musammā . . .
faltaṣbir wa ‘l-taḥtasib .
[Also good to say:]
A`ẓamallāhu ajrak,
wa 'aḥsana `azā'ak,
wa ghafara limayyitik.
Surely, Allah takes what is His,
and what He gives is His,
and to all things He has appointed a time...
so have patience and be rewarded.1
May Allah magnify your reward,
and make perfect your bereavement,
and forgive your departed.2
Reference:
1 Al-Bukhari 2/80, Muslim 2/636.
2An-Nawawi, Kitabul-'Athkar, p. 126.