Jami` at-Tirmidhi #1015
The Book on Jana''iz (Funerals) 10:51
Abu Hurairah narrated that:
The Prophet said: "Hurry up with the funeral (procession) for if it was good, you are advancing it to good, and if it was evil, then you are taking it off your necks."