The Red Devils boss came up with idea to boost the morale of the players, who have both suffered long-term knee injuries.
The England defender called the gesture a “nice touch” and was able to relate better than most as to what the pair are currently going through.
Shaw was forced to spend 10 months on the sideline after he broke his leg in two places while playing against PSV Eindhoven in September 2015.
“I think it was the manager’s idea and it was a nice touch,” the left-back told ManUnited.com. “I know Marcos and Ibra will appreciate it.
“Obviously I know what they are going through now, it is going to be a long and hard road, but you couldn’t have two stronger players in Marcos and Ibra.”
Football fans weren’t as keen on the tribute shirts however, which were worn in United’s game with Burnley, with many taking to Twitter to mock the gesture on the day.
One joked: “Man United players wear shirts with Rojo and Ibrahimovic’s names on their backs, looks like they will be joining Gundogan in the heavens.”
While another added: “If someone could forward on the funeral arrangements for Ibrahimovic and Rojo, that’d be great. Would love to attend.”