Matthew 22:23-33 ESV
The same day Sadducees came to him, who say that there is no resurrection, and they asked him a question, saying, “Teacher, Moses said, ‘If a man dies having no children, his brother must marry the widow and raise up offspring for his brother.’ Now there were seven brothers among us. The first married and died, and having no offspring left his wife to his brother. So too the second and third, down to the seventh. After them all, the woman died. In the resurrection, therefore, of the seven, whose wife will she be? For they all had her.”
But Jesus answered them, “You are wrong, because you know neither the Scriptures nor the power of God. For in the resurrection they neither marry nor are given in marriage, but are like angels in heaven. And as for the resurrection of the dead, have you not read what was said to you by God: ‘I am the God of Abraham, and the God of Isaac, and the God of Jacob’? He is not God of the dead, but of the living.” And when the crowd heard it, they were astonished at his teaching.
ESV: English Standard Version 2016