The Pistons bench immediately stepped up to remonstrate with Wagner given their proximity before Hayes struck the Magic power forward in the back of the head with his forearm.
Wagner appeared to have been knocked out by the blow but was able to eventually walk away from the skirmish.
Hayes copped the longest suspension, a three-game ban without pay, while Wagner was banned for two games for an "unsportsmanlike act".
Eight Magic players - Cole Anthony, R.J. Hampton, Gary Harris, Kevon Harris, Admiral Schofield, Franz Wagner, Mo Bamba and Wendell Carter Jr. - all received one-game suspensions, having left their bench to join in the altercation. Pistons' shooting guard Hamidou Diallo also was banned for one game for pushing Wagner from behind as the altercation erupted.