What does Judaism have to say about sleep? 2b - Choni the Circle Maker
What about Choni?

אמר ר' יוחנן כל ימיו של אותו צדיק היה מצטער על מקרא זה (תהלים קכו, א) שיר המעלות בשוב ה' את שיבת ציון היינו כחולמים

אמר מי איכא דניים שבעין שנין בחלמא

יומא חד הוה אזל באורחא חזייה לההוא גברא דהוה נטע חרובא

אמר ליה האי עד כמה שנין טעין

אמר ליה עד שבעין שנין

אמר ליה פשיטא לך דחיית שבעין שנין

אמר ליה האי [גברא] עלמא בחרובא

אשכחתיה כי היכי דשתלי לי אבהתי שתלי נמי לבראי יתיב קא

כריך ריפתא

אתא ליה שינתא נים אהדרא ליה משוניתא איכסי מעינא ונים שבעין שנין

כי קם חזייה לההוא גברא דהוה קא מלקט מינייהו

אמר ליה את הוא דשתלתיה

א"ל בר בריה אנא אמר ליה שמע מינה דניימי שבעין שנין חזא לחמריה דאתיילידא ליה רמכי רמכי

אזל לביתיה אמר להו בריה דחוני המעגל מי קיים

אמרו ליה בריה ליתא בר בריה איתא אמר להו אנא חוני המעגל לא הימנוהו

אזל לבית המדרש שמעינהו לרבנן דקאמרי נהירן שמעתתין כבשני חוני המעגל דכי הוי עייל לבית מדרשא כל קושיא דהוו להו לרבנן הוה מפרק להו

אמר להו אנא ניהו לא הימנוהו ולא עבדי ליה יקרא כדמבעי ליה

חלש דעתיה בעי רחמי ומית

אמר רבא היינו דאמרי אינשי או חברותא או מיתותא

Rabbi Yochanan said: All the days of that righteous man, [Choni], he was distressed over the meaning of this verse: “A song of Ascents: When the Lord brought back those who returned to Zion, we were like those who dream” (Psalms 126:1).

He said: Is there really a person who can sleep and dream for seventy years?

One day, he was walking along the road when he saw a certain man planting a carob tree.

Choni said to him: This tree, after how many years will it bear fruit?

The man replied: It will take seventy years.

Choni said to him: Are you certain that you will live seventy years?

The man replied: That man [ie. I] found a world with carob trees. Just as my ancestors planted for me, I too am planting for my descendants.

Choni sat and ate bread.

Sleep overcame him and he slept. A cliff formed around him, and he disappeared from sight and slept for seventy years.

When he awoke, he saw that man gathering carobs from that tree.

Choni said to him: Are you the one who planted this tree?

The man replied: I am his son’s son.

Choni said to him: I can learn from this that I have slept for seventy years. His donkey had fathered several herds.

Choni went home and said to the members of the household: Is the son of Choni the Circle Maker alive?

They said to him: His son is no longer with us, but his son’s son is alive. He said to them: I am Choni the Circle Maker. They did not believe him.

He went to the study hall, and heard the Sages say: His halakhot are as enlightening and as clear as in the years of Choni the Circle Maker, for when Choni the Circle Maker would enter the study hall he would resolve for the Sages any difficulty they had.

Choni said to them: That’s me! But they did not believe him and did not treat him respectfully.

Choni became very upset, prayed for mercy, and died.

Rava said: That is why people say: Either friendship or death.