If you give someone a knuckle sandwich, you punch them. Ex: If you say that again you'll get a knuckle sandwich!
Simon said he'd give me a knuckle sandwich if I wasn't careful, so I said "Come on then, let's go outside!"
Note: This is a humorous idiom usually used among friends when they're joking.