Matthew 22:27-29 NIV

27 Finally, the woman died.
28 Now then, at the resurrection, whose wife will she be of the seven, since all of them were married to her?"
29 Jesus replied, "You are in error because you do not know the Scriptures1 or the power of God.

References for Matthew 22:29