Euclid's lemma says that if p divides ab, then p divides a or p divides b. If this is the case then p is prime.
What about when p=4, a=8 and b=9. p| ab => p|72 then, (p|8 or p|9) is true. This infers that p is prime. But 4 is not a prime number. I am overlooking something, and I am not sure what it is. There is definitely no restriction on a,b, and p, other than they are all integers.
Any help or hint would be greatly appreciated.