Abu Huraira reported Allah's Messenger (ﷺ) as saying:
He who offers prayer for the dead, for him is (the reward of) one qirat; and he who follows the bier till it is placed in the grave, for him (is the reward of) two qirats. I (Abu Hazim, one of the narrators) said: Abu Huraira, what is a qirat? He said: It is like the hill of Uhud.
Reference: Sahih Muslim 945 e In-book : Book 11, Hadith 72 USC-MSA web (English) : Book 4, Hadith 2067 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.