The burglar cut himself after smashing the kitchen window in order to break in then slept in the homeowner's bed