Sunan an-Nasa'i, Book 21, Hadith 179 (In-Book)

It was narrated that Abu Hurairah Said: "The Messenger of Allah said: 'Whoever attends a funeral until the prayer is offered will have one Qirat and whoever attends until (the body) is buried will have two Qirats."' It was said: "What are the two Qirats, O Messenger of Allah?" He said: "Like two great mountains."

أَخْبَرَنَا سُوَيْدٌ، قَالَ أَخْبَرَنَا عَبْدُ اللَّهِ، عَنْ يُونُسَ، عَنِ الزُّهْرِيِّ، قَالَ أَنْبَأَنَا عَبْدُ الرَّحْمَنِ الأَعْرَجُ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ مَنْ شَهِدَ جَنَازَةً حَتَّى يُصَلَّى عَلَيْهَا فَلَهُ قِيرَاطٌ وَمَنْ شَهِدَ حَتَّى تُدْفَنَ فَلَهُ قِيرَاطَانِ ‏"‏ ‏.‏ قِيلَ وَمَا الْقِيرَاطَانِ يَا رَسُولَ اللَّهِ قَالَ ‏"‏ مِثْلُ الْجَبَلَيْنِ الْعَظِيمَيْنِ ‏"‏ ‏.‏

sunnah.com