It was 101 degrees at the start of the game.
Sabathia, moved up a day in the rotation to start after Michael Pineda was put on the disabled list earlier in the day, threw 80 pitches through one batter in the sixth inning.
A Yankees spokesman said postgame that Sabathia showed no symptoms of dehydration during the game, but was sent to the Medical Center of Arlington after cramping while icing in the trainer's room after being taken out.
Rather than fly out with the team, plans were made for Sabathia to catch a later flight.
The 101-degree start was the hottest this season in the majors. Even as a full moon rose over the field, the temperature was still in the low 90s when the game ended.
Sabathia gave up five runs -- all scoring on the three homers -- while pitching through the leadoff batter in the sixth. He has allowed 24 homers, most in the American League.
"It looked like he would get out of the first, but then he hung a slider to Hamilton," Yankees manager Joe Girardi said. "That was the one big hit that hurt us."