Sayyidina Abu Hurayrah (RA) reported that the Prophet (SAW) commanded, ‘Hasten with the funeral. For, if he was pious, send him soon to a better place. And, if he was evil, relieve your necks of him.”
[Ahmed10336, Bukhari 1315, Muslim 944, Abu Dawud 3181, Nisai 1910, Ibn e Majah 1477]
--------------------------------------------------------------------------------