Minecraft wiki entry for Smelting, associated text: If the player sleeps in a bed while a furnace is smelting items, the furnace's progress remains the same as if the bed had not been used and no additional time had passed. This is because when a player sleeps in a bed, no time actually passes; the game simply sets the time of day to morning.