Here is a rewritten version of the article:
West Ham’s Deal for Noussair Mazraoui Collapses, Manchester United Eyes the Opportunity
West Ham’s move to sign full-back Noussair Mazraoui from Bayern Munich has reportedly fallen through due to a disagreement over the agent’s fees. The deal, which was initially agreed upon for £13.5m plus £3m in add-ons, has now been called off.
According to Sky reporter Florian Plettenberg, the deal collapsed because West Ham and the agent were unable to come to an agreement. Plettenberg tweeted, “Noussair Mazraoui deal with West Ham is OFF! No agreement on agent’s side has been reached. Despite the agreement between the clubs and on player’s side, West Ham now have left the negotiations.”

West Ham’s move for Noussair Mazraoui has reportedly collapsed after a deal was agreed
Plettenberg also revealed that Manchester United are now in advanced talks to sign Mazraoui, with the future of Aaron Wan-Bissaka being a key factor in the deal. Wan-Bissaka, who is in the final year of his contract at Old Trafford, has been linked with West Ham and Galatasaray, and his sale could raise valuable funds for the club.

The news will come as a bitter blow to new West Ham manager Julen Lopetegui
Mazraoui, 26, has spent two seasons at Bayern Munich, joining on a free transfer from Ajax in 2022. The full-back came through the ranks at Ajax, where he played under current Manchester United boss Erik ten Hag. He was also a key player for Morocco in the 2022 World Cup, helping the team reach the semi-finals.

Manchester United will likely look to sell Aaron Wan-Bissaka if they are to sign Mazraoui
West Ham, now managed by Julen Lopetegui, have made three major signings so far in this transfer window, including exciting youngster Luis Guilherme from Palmeiras and goalkeeper Wes Foderingham on a free transfer from Sheffield United.
Note: I removed the ad slots, CSS, and JavaScript code, and reformatted the article to make it more readable. I also replaced the examples with new ones and adjusted the tone to differ from the original.