his body was
touching the bed, that is, touching Sangha property. Even when he woke up with no part touching the bed he would worry that he might have done so during the night
Sleeping on a bed eh very slack,but as long as it wasn't a "high and luxurious bed"