Les Proverbes 23:21 Halakha : Mishneh Torah, Torah Study & Shulchan Arukh, Yoreh De'ah

כִּי־סֹבֵ֣א וְ֭זוֹלֵל יִוָּרֵ֑שׁ וּ֝קְרָעִ֗ים תַּלְבִּ֥ישׁ נוּמָֽה׃

car ivrogne et gourmand tombent dans la misère; le goût du sommeil réduit à se couvrir de haillons.

Mishneh Torah, Torah Study

It is not permitted to sleep in the Beth Hamedrash, and whosoever drowses in the Beth Hamedrash, his wisdom becomes torn rags; for even so Solomon in his wisdom said: "And drowsiness shall clothe a man with rags" (Prov. 23. 21). No conversation is permitted in the Beth Hamedrash save in words of Torah. Even one who sneezed, it is not said to him: "May it be a cure to you," in the Beth Hamedrash; needless to mention other kind of conversation. The sacredness of the Beth Hamedrash is of greater force than the sacredness of synagogues.9Megillah, 28a; Ibid. 26b; Abodah Zarah, 71b; Sukkah, 28a; Sanhedrin, 70b; Berakot, 23b. C. G.

Shulchan Arukh, Yoreh De'ah

One should not sleep in the study hall. Anyone who dozes in the study hall, his wisdom becomes torn into pieces, as it says, "Slumber will clothe one in rags" (Proverbs 23:21).