It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "There is no judge who judges between people except that he will be gathered on the Day of Resurrection with an angel holding the back of his neck, until he makes him stand over Hell. Then he will raise his head towards the sky, and if Allah says: Throw him in, then his fall will last forty years."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10275