Mark 12:20

Now there were seven brethren: and the first took a wife, and dying left no seed.

Cross-reference

Matthew 22:25-28 gives the identical seven-brother example from the same event.

Luke 20:29-33 recounts the same hypothetical and question in parallel.