Assume 𝑅/𝐼 is an integral domain and let 𝑎𝑏∈𝐼.
Then (𝑎+𝐼)(𝑏+𝐼)=𝑎𝑏+𝐼=𝐼≡0,
so either 𝑎+𝐼=𝐼≡0 or 𝑏+𝐼=𝐼≡0.
For the converse, assume 𝐼⊴𝑅 is prime.
Since 𝑅/𝐼 is automatically a commutative ring,
it only remains to show that 𝑅/𝐼 has no zero-divisors.
To this end, assume (𝑎+𝐼)(𝑏+𝐼)=𝐼≡0.
Then 𝑎𝑏∈𝐼 and hence 𝑎∈𝐼 or 𝑏∈𝐼,
whence 𝑎+𝐼=𝐼≡0 or 𝑏+𝐼=𝐼≡0.