That is not in the Greek text.
There is no annulment taught here, but divorce.
By marrying another, it is adultery if the first marriage is valid. If the first marriage is not valid, how can there be adultery? There was a practice of dissolving marriage before Jesus was even born. Jesus was clarifying a practice that was not being done correctly.
Let’s take a look at Greek text.
Matthew 5
31 "It was also said, `Whoever divorces his wife, let him give her a certificate of divorce.’
32 But I say to you that every one who divorces his wife, except on the ground of unchastity, makes her an adulteress; and whoever marries a divorced woman commits adultery.
the Lord permits divorce only for “porneia.” This Greek word generally means unlawful sexual intercourse due to either blood relations (also called incest) or nonsacramental unions. The Lord does not permit divorce for “moicheia” (adultery). It is also important to note that in these cases, a marriage never existed in the first place, so the Lord is not actually permitting divorce, but a dissolution of the unlawful union.
Another point: “moicheia” can be forgiven and healed, which further proves that Jesus never said “moicheia” (adultery) was grounds for divorce the way Protestants misinterpret this verse. “porneia.” would include remarrying without proper determination if the first marriage was invalid, a common practice with Protestants. They have no determining mechanism other than the pastors opinion based on the testimony of a divorcee, and a ruling of divorce by a civil court.
Nobody is granted an annulment for the sake of having one. People want one because they love someone and want to make sure without a doubt that they are not marrying into an adulterous relationship, according to 2000 years of teaching.
To object to the concept of annulments is to misunderstand the meaning of the Sacrament of Matrimony, which is not a wedding day.