It's correct, but it's not a sentence. It has no verb. It is an idiomatic expression that can stand alone, like Yes, No, Maybe, Please, Not now, Not on Tuesdays, In the kitchen, As soon as you can, Whenever you want, and thousands of other sentence fragments commonly used in conversation.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.