The Amazing Spider-Man #328 (1990)
“Acts of Vengeance: Shaw’s Gambit”
Writer: David Michelinie
Artist: Todd McFarlane
Sebastian Shaw is hired to kill Spider-Man and he sends the Hulk to do it. Spider-Man punches the Hulk so hard he sends him into space. But the Hulk will turn back into Bruce Banner (and essentially die) if sunlight hits him. Spider-Man flies up and brings him back down to Earth. The Hulk repays him by not killing him.