Other than TV specials and documentaries, the two have never been in the same movie. You may be asking about the 1977 documentary, _Bette Midler - Ol Red Hair is Back_, in which Hoffman sings a duet with Midler.
Midnight Cowboy Jon Voight starred as a would-be gigolo in "Midnight Cowboy" with Dustin Hoffman.
Little Big Man.
Bonnie and Clyde
Brad Pitt and Dustin Hoffman appeared together in Sleepers.
It is the movie, The Graduate, likely the film Dustin Hoffman is most known for.
'Rainman'. Dustin Hoffman plays the character of Raymond, who is an autistic savant.
Marathon Man
Rain Man
Robert Redford played Bob Woodward and Dustin Hoffman played Carl Bernstein.
Brad Pitt and Dustin Hoffman appeared together in Sleepers.
Its Little Big Man played by Dustin Hoffman
"Marathon Man" (1976). Stars Dustin Hoffman, Laurence Olivier, Roy Scheider, William Devane, Fritz Weaver.
It is the movie, The Graduate, likely the film Dustin Hoffman is most known for.
'Rainman'. Dustin Hoffman plays the character of Raymond, who is an autistic savant.
The Rain MAn
Dustin Hoffman in the movie "Hook"
Airborne viruses
Rain Man
Marathon Man
Dustin Hoffman