The Switzerland star has been linked with a move to the Premier League, but his current employers have no interest in discussing a transfer
Premier League club Liverpool were willing to pay €19 million for the 22-year-old and held tentative talks with the German champions in June.
But die Roten are keen to keep Shaqiri at the Allianz Arena – especially with Toni Kroos's future in doubt – and Sammer says the former Basel star will not be allowed to leave the club.
"Xherdan is an important player for the future," the Bayern chief told Kicker. "There are no thoughts at all about selling him."
Shaqiri shone at the World Cup for a Swiss side who were knocked out in the last 16, scoring a superb hat-trick in their 3-0 win over Honduras.
The playmaker had been wanted as part of a new-look Anfield attack in the wake of Luis Suarez's move to Barcelona and had even intimated that he would be open to moving to the Premier League.
But with Bayern keen to retain a player who scored six goals in 17 Bundesliga appearances last season, Liverpool will be forced to look elsewhere.
The Reds are close to capturing Benfica winger Lazar Markovic in a €25m deal and the Serbian could be quickly followed by Belgian striker Divock Origi and Southampton defender Dejan Lovren.