The occurrence of a miracle can be used as proof for the existence of the attribute of Speech. This is because the attribute of Speech is the one without which the expression of conventional signification (Dalala Wad’ia) would be impossible from God. And since the miracle is an expression of conventional signification from God, then the miracle is proof for the existence of the attribute of Speech for Him.
As for the attribute of Speech being necessary for the expression of conventional signification from God, we say: the existence of expressions of conventional signification is proof for the existence of a signifier that issued those expressions. And the signifier is a signifier, by virtue of an attribute that is distinct from his power, will, and knowledge, for the reasons mentioned here. Such an attribute is all what we mean by “Speech”.
Thus, if an expression of conventional signification is affirmed from God, then the attribute of Speech must be affirmed for Him.
As for a miracle being an expression of conventional signification: then this is because God is the creator of normalcy. So His aiding a claimant to prophethood by negating normalcy for him, signals His support for this claimant. A miracle is as such, the equivalent of God’s saying: “this man tells the truth about Me.” More on this here.
Therefore, the occurrence of a miracle is proof that God is attributed with Speech.