Masruq (may Allah have mercy on him) narrates from Abdullah (may Allah be pleased with him), and sometimes he narrated it from the Prophet (peace and blessings be upon him), that he (peace and blessings be upon him) said: "There is no one who judges between people except that an angel is appointed over him who holds him by the nape of his neck and keeps him standing at the edge of Hell, and (the angel) raises his head towards Allah. If Allah commands, he throws him into a depth of Hell of forty years."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب آداب القاضي / 20223