Pregnancy and intimacy

is it safe for the man to ejaculate inside pregnant women while having sex ؟