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

Jabir b. Samura said the Prophet was brought an unsaddled horse which he rode when he went away after the funeral of Ibn ad-Dahdah, and they went on foot around him. Muslim transmitted it.