Actually,
Mathew 19: 17 And he said unto him, Why callest thou me good? there is none good but one, that is, God: but if thou wilt enter into life, keep the commandments.
18 He saith unto him, Which? Jesus said, THOU SHALT DO NO MURDER, Thou shalt not commit adultery, Thou shalt not steal, Thou shalt not bear false witness,
So yes he did say women can't get abortion also
Matthew 19: 4 He said to them, “Have you not read that He Who made them in the first place made them man and woman? 5 It says, ‘For this reason a man will leave his father and his mother and will live with his wife. The two will become one.’ 6 So they are no longer two but one. Let no man divide what God has put together.”
I know he said that in response to a question about divorce but it still excludes gay marriage and if they asked about gay marriage he would have had the exact same response