The visitors were without reigning MVP LeBron James, who was suffering with back spasms, but the Heat kept it close until the final two minutes, when Jeff Green put Boston ahead before Rajon Rondo made a couple of late baskets.
Carmelo Anthony led the home side with 34, while Lance Stephenson tried to get the Eastern Conference leaders back into contention in the second half, but could not overturn the Knicks' 12-point lead from the first two quarters.
The Brooklyn Nets clinched their 10th win in a row with a strong finish against the Charlotte Bobcats.
The Nets were three points down midway through the fourth quarter, but Deron Williams added 11 of his 26 points inside the final six minutes to secure victory.
The Mavericks needed a strong finish after the Wolves opened up an early lead, but Kevin Love, who finished the game with 35 points, put the visitors ahead in overtime.
The teams were level at half time, but a 23-3 run in the second half ensured that the home side pulled away for an easy win.
The Raptors were four points down heading into the last 12 minutes, but former Pelicans player Greivis Vasquez put the Canadian side ahead in the final two minutes to end their two-game losing streak.
Zach Randolph and Marc Gasol guided the Grizzlies to a 16-point lead at the break, before Gordon Hayward and Trey Burke brought the Jazz back into contention, but they could not complete the comeback.
The Denver Pistons took a comfortable win over the Denver Nuggets for their fourth win in their last five games.
Aaron Brooks was a late inclusion in the starting lineup after Ty Lawson came down with a sinus infection, but he made the most of his chance, leading the team with 27 points and a career-high 17 rebounds.
Results in full: Chicago Bulls 102-94 Philadelphia 76ers, Miami Heat 96-101 Boston Celtics, Charlotte Bobcats 99-104 Brooklyn Nets, Utah Jazz 86-96 Memphis Grizzlies, Toronto Raptors 107-100 New Orleans Pelicans, Indiana Pacers 86-92 New York Knicks, Minnesota Timberwolves 123-122 Dallas Mavericks, Detroit Pistons 109-118 Denver Nuggets, Orlando Magic 93-109 Phoenix Suns, San Antonio Spurs 125-109 Los Angeles Lakers