(17) باب فَضْلِ الصَّلاَةِ عَلَى الْجَنَازَةِ وَاتِّبَاعِهَا
Abu Huraira reported Allah's Apostle (ﷺ) as saying:
He who offered prayer over the dead, but did not follow the bier, for him is the reward of one qirat, and he who followed it, for him is the reward of two qirats. It was asked what the qirats were. He said: The smaller amongst the two is equivalent to Uhud.
Reference: Sahih Muslim 945 d
In-book reference: Book 11, Hadith 70
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 2065