Commentary for Berakhot 13:19
ההוא צדוקי דהוה בשבבותיה דר' יהושע בן לוי הוה קא מצער ליה טובא בקראי יומא חד שקל תרנגולא ואוקמיה בין כרעי' דערסא ועיין ביה סבר כי מטא ההיא שעתא אלטייה כי מטא ההיא שעתא ניים אמר ש"מ לאו אורח ארעא למעבד הכי (תהלים קמה, ט) ורחמיו על כל מעשיו כתיב
A certain Min, who lived in the neighbourhood of R. Joshua b. Levi, used to plague him with questions about [the interpretation of] the Scriptures. One day R. Joshua took a cock and placed it between the feet of his bed and watched [the comb] closely. His intention was to curse the heretic when the moment arrived [in which God was wrathful] ; but when the moment arrived, he was sleeping. On waking up he said ; Learn from this that it is not proper to act thus ; for it is written, "His tender mercies are over all His works" (Ps. cxlv. 9), and