Imam Baqir (peace be upon him) has been reported to have related:
In the tribe of Bani Israel there lived a scholar, who used to adjudicate amongst the people. When he was about to die he instructed his wife: When I have died, perform the ablutions, wrap me with the shroud, place me within the coffin and cover my face.
When he died, his wife did as she had been instructed. However, after a short while, desiring to see her husband’s face one last time, she moved aside the covering from over his face when she was shaken by the sight of a worm biting her husband’s nose and eating it.
That night she witnessed her husband in her dreams and sought to know the reason for the presence of the worm.
The judge said: Once, your brother, in the company of another person, had approached me for the purpose of adjudicating a dispute that had developed between them. In my heart I felt inclined to pass the judgment in his favour. The trial nevertheless, proved that the truth was with him. However, it was that inclination to pass the judgment in his favour (before the trial) that brought upon me the punishment by means of the worm that you witnessed on my face.( Daastaan-ha Wa Pand-ha, vol. 1, pg. 55, Anwaar-e-Nu’maaniyah, pg. 15. )