Mark and Matthew are NOT part of the Torah!
What do you think Jesus is citing in Matthew 19:4?
4 "Haven't you read," he replied, "that at the beginning the Creator 'made them male and female,'..."
Do you plead open New Testament ignorance?