Gemini VIII (space mission in Project Gemini)
March 16, 1966
Neil A. Armstrong, David R. Scott
10 hours, 41 minutes 26 seconds

Accomplished first docking with another space vehicle, an unmanned Agena stage. A malfunction caused uncontrollable spinning of the craft; the crew undocked and effected the first emergency landing of a manned U.S. space mission.

Source: NASA