A court heard part of the victim’s small intestines was cut from his body and thrown on to the bedroom carpet.
The taxi driver, who had remarried by then, told the Birmingham court he desperately tried to push his entrails back into his stomach after being attacked by his former spouse at her home.
Saeed denied charges of attempted murder and wounding with intent when she went on trial at Birmingham Crown Court on Monday.
She admitted stabbing her former husband but claimed she had been defending herself after he had raped her and then attacked her with the machete.
In his testimony, Mir told the court he was attacked by Saeed at around 10pm on October 19, 2015 after going to her apartment in Moseley, Birmingham.
He said they had argued about custody of their daughter before they ended up back on the bed.
Giving evidence, Mr Mir added: “Suddenly in the blink of an eye, and I didn’t see the knife, she stabbed me twice in the belly.
“I can only assume the knife came from either under the bed or the pocket of her dressing gown.
“My intestines were out, everything was out and she was grabbing hold of them, trying to pull them.
“She broke one of them and threw it on to the floor but I managed to put the rest of them back in my belly.”
Woman tried to kill her ex-husband by stabbing him with a carving knife and attempting to pull out his intestines after they had sex
Bilal Mir claims his former wife was intent on killing him. She tried to rip his intestines out of his stomach after stabbing him
Mir said he then tried to get out of the home but claimed Saeed pushed the door closed and then started to hit him on the head with a pepper grinder.
He said he eventually managed to get out and shouted for help, but the attack allegedly continued until he managed to get into the entrance of another property.
The prosecution told the court the victim tried to flee the fresidence, but Saeed pursued him into the street where she attacked him with a wooden bat and a meat cleaver.
He was only discovered in a nearby doorway at 3 am when neighbours heard his screams and called police.
The jury were told Mir suffered 30 separate wounds and spent ten days in hospital and had two surgeries, but made a full recovery.
The prosecutor, Adam Western, told the court: “The cuts were so severe part of his small bowel ended up on the carpet.
“She caused his injuries. Her intention was nothing less than to kill him,” Western said.
The court heard Saeed told police she attacked her ex-husband in self-defence after he raped her.
Saeed told police that she attacked her ex-husband in self defence, after he had raped her
Under cross-examination by defense attorney Patrick Upward, Mir admittted he had been physically and verbally abusive her during their two-year marriage.
The jury also heard both he and Saeed had been at risk of being deported as illegal immigrants.
Bilal Mir came to the UK in 2010 on a student visa but was classed as illegal because he had dropped out of college and Iraqi Kurd Saeed was only granted asylum in 2012.
He spent four months in a detention centre in 2012 but was allowed to stay because he has a child in the UK.
The trial continues.