Reference for Shabbat 304:5
על פקחין אמר ינתנו כלי לאוצר והם ילכו לבתיהם לשלום ועל טפשין אמר כלי ינתנו לכובס והן יתחבשו בבית האסורים
who distributed royal apparel to his servants. The wise among them folded it up and laid it away in a chest, whereas the fools among them went and did their work in them. After a time the king demanded his garments: the wise among them returned them to him immaculate, [but] the fools among them returned them soiled. The king was pleased with the wise but angry with the fools. Of the wise he said, 'Let my robes be placed in my treasury and they can go home in peace'; while of the fools he said, 'Let my robes be given to the fuller, and let them be confined in prison.' Thus too, with the Holy One, blessed be He: concerning the bodies of the righteous He says, He entereth into peace, they rest in their beds;<span class="x" onmousemove="('comment',' Isa. LVII, 2. ');"><sup>5</sup></span>