Assume $R$ is commutative. Prove that if $P$ is a prime ideal of $R$ and $P$ contains no zero-divisors then $R$ is an integral domain.
Proof: let $ab \in P$ where $ab \not= 0$. that means $a \in P$ or $b \in P$. Which implies that $a+P=P$ or $b+P=P$ the only way that $a+P=P$. If $a =0$ similarly $b+P=P$ of $b=0$. Which is a contradiction thus $ab$ is an integral domain. I do not know if this is a right approach.
Try to show that: if there exists a zero-divisor, then there is a zero-divisor in $P$.
This then shows that if there is no zero-divisor in $P$, then there is none at all and you are done.
To do this assume: $ab=0$ with non-zero $a,b$, that is assume a zero-divisor. Now, $0 \in P$ so $a \in P$ or $b \in P$ and you are essentially done.