The Short Version
The dialogue plainly contains this statement. In Apology 21a–21b, Socrates says Chaerephon consulted the Delphic oracle and received the answer that no one was wiser than Socrates. The main caveat is that this is Socrates’ report within Plato’s dialogue, not independent proof that the event happened historically.