Question: What is the ruling on hastening the funeral prayer and the burial of the deceased?
Answer: One should hasten the preparation of the deceased, the shrouding, the funeral prayer and the burial; delaying without reason is not preferable. Hastening to carry the funeral has been encouraged.
✿ Allama Ibn Qudamah (may Allah have mercy on him) (620 AH) says:
لا خلاف بين الأئمة رحمهم الله، فى استحباب الإسراع بالجنازة، وبه ورد النص .
There is no disagreement among the esteemed Imams (may Allah have mercy on them) that it is recommended to hasten with the funeral. A text (hadith) has also been narrated on this matter.
✿ Abu Hurairah (may Allah be pleased with him) narrates that the Messenger of Allah ﷺ said:
أسرعوا بالجنازة، فإن كانت صالحة قربتموها إلى الخير، وإن كانت غير ذلك كان شرا تضعونه عن رقابكم
Hasten with the funeral. If it is a righteous funeral, then you are taking it towards goodness, and if it is otherwise, then it is an evil that you are removing from your necks.