If you own a Qute, then simply put your hamster in the top compartment and push up the tube so that it cannot travel back down. Then you can clean the bottom section without worrying where your hamster is and how long it can stay in a temporary enclosure.
You can construct or purchase a temporary enclosure for your hamster, but don’t forget about your hamster’s ability to escape - they are excellent tunnellers, and well-known for their ability to gnaw their way out of cardboard and plastic extremely quickly! Some owners have bought a little temporary box for their hamster, one that is made of a wood that is safe for hamsters to chew. As long as this box has air holes, food, bedding and water, and no obvious escape routes, then the box will do the job while you’re cleaning your hamster’s main home.