A door is what a dog is perpetually on the wrong side of.
Notes from Wikiquote
Paraphrased variant: A door is that which a dog is perpetually on the wrong side of.
Quote text and notes from Wikiquote: Ogden Nash (page history), available under CC BY-SA 4.0. Source quality and labels are our own summary of what Wikiquote records.