Put a sock in it

When you ask someone to become quiet in a rude manner: to shut up

Examples

Put a sock in it! We are trying to sleep here!