Sofia Vergara threatened to leave Joe Manganiello if he went to the gym.

Sofia Vergara and Joe Manganiello

Sofia Vergara and Joe Manganiello

The 38-year-old actor injured his bicep badly on the set of his latest film 'Magic Mike XXL' and his wife-to-be was so adamant he shouldn't do any exercise the next day that she threatened him with a split.

Recalling the conversation, he said: "Sofia was there that day. We got back to my trailer and, as soon as the door closed, she said, 'If I see you at the gym tomorrow, we're done! I'm going to leave you! That's it!'"

The 'True Blood' star heard a "loud rip and a pop" during his dance routine, alerting him to the injury.

Explaining what happened, he added to PEOPLE magazine: "On take one of my finale routine, which we rehearsed and rehearsed and rehearsed and rehearsed, my dance partner did something unrehearsed, and the result was me hearing a loud rip and a pop. It was my bicep."

With her husband-to-be banned from going near the gym, Sofia has taken it upon herself to provide her own gym motivation in the form of a cardboard cutout of Joe.

Explaining where the cut out materialised from, she said: "We were moving and I found it in his garage, and I'm like, 'I'm gonna take this!'

"And [Joe] was like, 'What are you going to do with that?' So, I put it in the cardio room."