[Machine] Narrated by Prophet Muhammad ﷺ : Whoever prays on a deceased person, he will be rewarded with one Qirat. And if he follows the funeral procession until the burial is completed, he will be rewarded with two Qirats, one of which is smaller than the other, equivalent to the size of Mount Uhud. When Ibn Umar heard this, he was amazed and sent a message to Aisha (the Prophet's wife) and she confirmed that Abu Huraira (another companion) spoke the truth. Ibn Umar commented, "We have missed out on many great rewards."
عَنِ النَّبِيِّ ﷺ قَالَ مَنْ صَلَّى عَلَى جَنَازَةٍ كُتِبَ لَهُ قِيرَاطٌ فَإِنْ تَبِعَهَا حَتَّى يُقْضَى دَفْنُهَا فَلَهُ قِيرَاطَانِ أَصْغَرُهُمَا أَوْ أَحَدُهُمَا مِثْلُ أُحُدٍ فَبَلَغَ ذَلِكَ ابْنَ عُمَرَ فَتَعَاظَمَهُ فَأَرْسَلَ إِلَى عَائِشَةَ فَقَالَتْ صَدَقَ أَبُو هُرَيْرَةَ فَقَالَ ابْنُ عُمَرَ لَقَدْ فَرَّطْنَا فِي قَرَارِيطَ كَثِيرَةٍ