The Two Mrs. Carrolls (1947)
The Two Mrs. Carrolls is a 1947 mystery film starring Humphrey Bogart, Barbara Stanwyck, and Alexis Smith, directed by Peter Godfrey, and produced by Mark Hellinger from a screenplay by Thomas Job, based on the 1935 play by Martin Vale.
More at Wikipedia.