If either m and n is zero, then the claim is trivial. We now assume without loss of generality that m and n are positive.
To show p\mid m \lor p \mid n it suffices to show that p\nmid m \implies p \mid n and p\nmid n\implies p\mid m. As these cases are symmetric, we consider just the first one.
Assume p \nmid m. The only candidates for common divisors of p and m are p and 1 because p is prime, and we have already ruled out p by our assumption p\nmid m. Hence \gcd {\mathopen {}\left (p,m\right )\mathclose {}} = 1 and thus p and m are coprime.
By Lemma [01EJ], then, p\mid {\mathopen {}\left (m\cdot n\right )\mathclose {}} implies p\mid n so we are done.