وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «أَسْرِعُوا بِالْجَنَازَةِ فَإِنْ تَكُ صَالِحَةً فَخَيْرٌ تُقَدِّمُونَهَا إِلَيْهِ وَإِنْ تَكُ سِوَى ذَلِكَ فشر تضعونه عَن رقابك»
Copy

‘Abd ar-Rahman b. Abu Laila said that Zaid b. Arqam used to say “God is most great” four times over their dead at funerals, but once he said it five times. On being questioned about it he replied that God's messenger used to do so. Muslim transmitted it.