The Cavaliers fell to the Heat 140-138 in overtime.
Donovan Mitchell hit the game-tying three-pointer with less than a second left.
Miami scored on an in-bounds dunk as Cleveland's four-game winning streak came to an end, and they will stay in South Beach for a rematch tomorrow night.