Therefore, in the resurrection, when they rise, whose wife will she be? For all seven had her as wife."
Mark 12:23
Surrounding context
12:22 So the seven had her and left no offspring. Last of all the woman died also.
12:23 Therefore, in the resurrection, when they rise, whose wife will she be? For all seven had her as wife."
12:24 Jesus answered and said to them, "Are you not therefore mistaken, because you do not know the Scriptures nor the power of God?