The Fortune Cookie (1966)
The Fortune Cookie (alternative UK title: Meet Whiplash Willie) is a 1966 film starring Walter Matthau and Jack Lemmon in their first on-screen collaboration, and directed by Billy Wilder from a script by Wilder and I.A.L. Diamond.
More at Wikipedia.