The Messenger of Allah ﷺ said, "Hurry with the funeral. If she was righteous, then it is good that you are bringing her forward to it. If she was otherwise, then it is an evil that you are removing from your shoulders."
حدثنا أبو بكر بن أبي شيبة وهشام بن عمار قالا حدثنا سفيان بن عيينة عن الزهري عن سعيد بن المسيب
قال رسول الله ﷺ أسرعوا بالجنازة فإن تكن صالحة فخير تقدمونها إليه وإن تكن غير ذلك فشر تضعونه عن رقابكم