The 32-year-old, who earned his UFC contract through Dana White’s Contender Series, confirmed his withdrawal on social media but did not reveal the nature of his condition.
“Starting the week off strong 🤣 Humor is my way of coping.. really wanted to fight at MSG, the history there.. and i wanted to be apart of it.. I’ll be back soon tho 🙏 Lord willing.”

The withdrawal comes as a setback for Yanez, who had been hoping to build momentum following his victory over former UFC bantamweight champion Cody Garbrandt at UFC 329 in July.
Yanez stopped Garbrandt with a series of punches, ending a two-fight losing streak and returning to winning ways after a difficult run of results.
Despite that performance, the American has struggled for consistency in recent years, compiling a 2-3-1 record since 2022. He had been looking to secure another victory over Diaz and move closer to the UFC’s top 15 bantamweight rankings.

His withdrawal adds to the changes affecting UFC 334, although it remains unclear whether Diaz will stay on the card against a replacement opponent.
No timetable has been announced for Yanez’s return, with the fighter expressing hope that he will be back in action soon.