apple-pie bed
A bed which, as a practical joke, has been made with one of the sheets folded back on itself so that a person’s legs cannot be stretched out.
Full Definition of APPLE-PIE BED: a bed in which as a joke the sheets are doubled like the cover of an apple turnover to prevent anyone from stretching at full length between them