عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ: ((مَنْ جَاءَ جَنَازَةً فِي أَهْلِهَا فَتَبِعَهَا حَتَّى يُصَلِّيَ عَلَيْهَا فَلَهُ قِيرَاطٌ، وَمَنْ مَضَى مَعَهَا فَلَهُ قِيرَاطَانِ مِثْلُ أُحُدٍ))
It is narrated from Sayyiduna Abu Sa'id Khudri, may Allah be pleased with him, that the Messenger of Allah, peace and blessings be upon him, said: Whoever goes to the house of the family of the deceased, then remains with the deceased until the funeral prayer is offered, he will receive one qirat, and whoever remains with (the deceased) until the burial, he will receive the reward of two qirats. (One qirat) is like the mountain of Uhud.