Schweinsteiger was signed from Bayern in the summer of 2015 when former boss Louis van Gal was in charge.
However, the World Cup winner had been exiled from the United first team following the appointment of Jose Mourinho in May.
And Hoeness believes that Schweinsteiger should "make Manchester United pay" for the way Mourinho has treated him.
Bastian Schweinsteiger is yet to play for Manchester United this season
Jose Mourinho takes Man United training after touchline explosion
Mon, November 28, 2016Click through the gallery for the best snaps of Man United in training
Click through the gallery for the best snaps of Man United in training
“If I were him, I would make the people in Manchester pay until his last day," he
“That’s what this club [United] deserves for what they’ve done to him. They should be punished.”
Schweinsteiger was named on the bench as United drew 1-1 with West Ham yesterday,
However, the 32-year-old failed to make an appearance as Mourinho's time in charge was dealt another blow.
Hoeness' attack on United is perhaps due to Schweinsteiger's popularity at Bayern.
The former Germany international spent 13 years plying his trade in Bavaria.
And he won a huge array of honours during that time, including eight Bundesliga titles and the Champions League in 2013.