Succah 1:11-2:1
Succah 1:11
Rabbi Eliezer says that a conical succah or one leaning against a wall is invalid because it has no roof but the Sages permit it. A large mat of reeds for lying upon is subject to ritual impurity and therefore unfit for use as schach. If the mat was made for use as schach, it is not subject to ritual impurity and may be used. Rabbi Eliezer says that regardless of the mat’s size, if it was made to lie upon, it is subject to ritual impurity and unfit for use as schach, and if made for use as schach, it is not subject to ritual impurity and may be used.
Succah 2:1
If a person sleeps under a bed in his succah, he does not fulfill his obligation. Rabbi Yehuda reported that they used to sleep under the bed in the presence of their teachers and nobody objected to the practice. Rabbi Shimon said that Rabban Gamliel’s servant Tovi used to sleep under the bed. Rabban Gamliel pointed out to the Sages that Tovi was a scholar and aware that he was exempt from the mitzvah of succah, which is why he slept under the bed. We can infer from Rabban Gamliel’s comment that one who sleeps under a bed does not fulfill his obligation.