Perhaps you are thinking of the story of Tobias and Sarah in the book of Tobit (chapters 7-8). There is also the story the Sadducees told Jesus (Matt. 22:23-33), but it is possible that story was a hypothetical situation the Sadducees invented to stump Jesus (although they might have based it on the story of Tobias and Sarah).
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.