Even though you didn't ejaculate in vagina, pre ejaculate fluid also contains sperm. Chance of pregnancy
depends on date of menses of the girl (high chance if It was done around ovulation)
Chance of pregnancy with such intercourse is very low, but not zero.
If you are excessively concerned about pregnancy, she can take emergency contraceptive