Karl Wilhelm Friedrich Schlegel said this quote

Wit is the appearance, the external flash of imagination. Thus its divinity, and the witty character of mysticism.